diff options
author | Brad King <brad.king@kitware.com> | 2017-05-31 12:52:03 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-05-31 12:53:39 (GMT) |
commit | 926ef3ee032146b764e216d33270a6a9a65d1d5a (patch) | |
tree | 4a738d4a341d0d0b527852b3875e7871e460b327 | |
parent | 3251da6fa270f138920570aac89e8a5c65861661 (diff) | |
parent | be55f069f926472369627a99c1b7b5d01aee47c5 (diff) | |
download | CMake-926ef3ee032146b764e216d33270a6a9a65d1d5a.zip CMake-926ef3ee032146b764e216d33270a6a9a65d1d5a.tar.gz CMake-926ef3ee032146b764e216d33270a6a9a65d1d5a.tar.bz2 |
Merge topic 'fix-XCTest-build-config'
be55f069 Tests: Fix XCTest build configuration
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !907
-rw-r--r-- | Tests/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 335267a..21fe641 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -1728,6 +1728,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DDIR=dev -P ${CMake_SOURCE_DIR}/Utilities/Release if(CMake_TEST_XCODE_VERSION AND NOT CMake_TEST_XCODE_VERSION VERSION_LESS 5 AND OSX_VERSION MATCHES "^([0-9]+\\.[0-9]+)") + set(XCTest_CTEST_OPTIONS --build-config $<CONFIGURATION>) set(XCTest_BUILD_OPTIONS -DCMAKE_OSX_DEPLOYMENT_TARGET=${CMAKE_MATCH_1} -DCMAKE_OSX_SYSROOT=macosx) ADD_TEST_MACRO(XCTest ${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION> -V) endif() |