Browse Source

Merge topic 'xcode-5-no-BuildDepends-help'

7f459a6 Xcode: Teach BuildDepends test that Xcode >= 5 needs no help
Brad King 12 years ago
parent
commit
7e4910fe47
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Tests/BuildDepends/CMakeLists.txt

+ 1 - 1
Tests/BuildDepends/CMakeLists.txt

@@ -13,7 +13,7 @@ project(BuildDepends)
 set(CMAKE_SUPPRESS_REGENERATION 1)
 
 # Xcode needs some help with the fancy dependencies in this test.
-if("${CMAKE_GENERATOR}" MATCHES "Xcode")
+if(XCODE AND XCODE_VERSION VERSION_LESS 5)
   set(HELP_XCODE 1)
 endif()
 function(help_xcode_depends)