diff options
author | Brad King <brad.king@kitware.com> | 2013-10-08 18:21:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-08 18:21:25 (GMT) |
commit | 7f459a664cdb74693af2e0ec4cfd3d1c46b21b76 (patch) | |
tree | f95675fcaab0dcc9ad40aecf8e05fe3363c425e1 /Tests/BuildDepends | |
parent | 40c84683aafc9447a0e17d81a71d061efde84bdb (diff) | |
download | CMake-7f459a664cdb74693af2e0ec4cfd3d1c46b21b76.zip CMake-7f459a664cdb74693af2e0ec4cfd3d1c46b21b76.tar.gz CMake-7f459a664cdb74693af2e0ec4cfd3d1c46b21b76.tar.bz2 |
Xcode: Teach BuildDepends test that Xcode >= 5 needs no help
Drop the HELP_XCODE workarounds needed on older Xcode versions when
using Xcode >= 5. We now expect builds and rebuilds to work using
proper dependencies with no special help.
Diffstat (limited to 'Tests/BuildDepends')
-rw-r--r-- | Tests/BuildDepends/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/BuildDepends/CMakeLists.txt b/Tests/BuildDepends/CMakeLists.txt index 0687154..9727930 100644 --- a/Tests/BuildDepends/CMakeLists.txt +++ b/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) |