summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2015-03-23 17:06:46 (GMT)
committerBrad King <brad.king@kitware.com>2015-03-24 15:24:56 (GMT)
commit6ab1413499284dc8e1d7a8ac1f1940798a79e674 (patch)
treee149ba083d219cdc9a5c080f816bb4efac1b9458
parent52642b466ec47f61195b4112407845e62b381596 (diff)
downloadCMake-6ab1413499284dc8e1d7a8ac1f1940798a79e674.zip
CMake-6ab1413499284dc8e1d7a8ac1f1940798a79e674.tar.gz
CMake-6ab1413499284dc8e1d7a8ac1f1940798a79e674.tar.bz2
Tests: Enable XCTest tests for Xcode 5
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
-rw-r--r--Tests/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 49fd02b..41032f8 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -1519,7 +1519,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DDIR=dev -P ${CMake_SOURCE_DIR}/Utilities/Release
)
endif()
- if(CMake_TEST_XCODE_VERSION AND NOT CMake_TEST_XCODE_VERSION VERSION_LESS 6
+ if(CMake_TEST_XCODE_VERSION AND NOT CMake_TEST_XCODE_VERSION VERSION_LESS 5
AND OSX_VERSION MATCHES "^([0-9]+\\.[0-9]+)")
set(XCTest_BUILD_OPTIONS -DCMAKE_OSX_DEPLOYMENT_TARGET=${CMAKE_MATCH_1})
ADD_TEST_MACRO(XCTest ${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION> -V)