mirror of
https://github.com/reactos/CMake.git
synced 2024-11-27 21:41:03 +00:00
Merge topic 'fix-XCTest-build-config'
be55f069
Tests: Fix XCTest build configuration
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !907
This commit is contained in:
commit
926ef3ee03
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user