summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-10-09 14:25:09 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-10-09 14:25:09 (GMT)
commit7e4910fe47d667e059e42ac6395b0f4726f17064 (patch)
treeb286de6e99dc83db7a47019a406090edf70e8d06
parent5925e34107a1571a16e940bea2fcc88d8d3df3e1 (diff)
parent7f459a664cdb74693af2e0ec4cfd3d1c46b21b76 (diff)
downloadCMake-7e4910fe47d667e059e42ac6395b0f4726f17064.zip
CMake-7e4910fe47d667e059e42ac6395b0f4726f17064.tar.gz
CMake-7e4910fe47d667e059e42ac6395b0f4726f17064.tar.bz2
Merge topic 'xcode-5-no-BuildDepends-help'
7f459a6 Xcode: Teach BuildDepends test that Xcode >= 5 needs no help
-rw-r--r--Tests/BuildDepends/CMakeLists.txt2
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)