diff options
author | Brad King <brad.king@kitware.com> | 2020-04-03 11:05:00 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-04-03 11:05:11 (GMT) |
commit | f4e4b41a19ac5accf48e3a70c93f7d901df05136 (patch) | |
tree | f99105d5bf4956122e5db0e735d293ce06291d4d /Tests/RunCMake | |
parent | 88cd06a0fa01887e694dd606f1227a86b09910ef (diff) | |
parent | f593b354da2e9637e9b869688934f0ba2544ebed (diff) | |
download | CMake-f4e4b41a19ac5accf48e3a70c93f7d901df05136.zip CMake-f4e4b41a19ac5accf48e3a70c93f7d901df05136.tar.gz CMake-f4e4b41a19ac5accf48e3a70c93f7d901df05136.tar.bz2 |
Merge topic 'pch-ios-multi-arch'
f593b354da PCH: Add support for multi architecture iOS projects
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4561
Diffstat (limited to 'Tests/RunCMake')
-rw-r--r-- | Tests/RunCMake/PrecompileHeaders/RunCMakeTest.cmake | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Tests/RunCMake/PrecompileHeaders/RunCMakeTest.cmake b/Tests/RunCMake/PrecompileHeaders/RunCMakeTest.cmake index 3f684fc..381b800 100644 --- a/Tests/RunCMake/PrecompileHeaders/RunCMakeTest.cmake +++ b/Tests/RunCMake/PrecompileHeaders/RunCMakeTest.cmake @@ -4,12 +4,9 @@ include(RunCMake) function(run_test name) set(RunCMake_TEST_BINARY_DIR ${RunCMake_BINARY_DIR}/${name}-build) run_cmake(${name}) - # Precompiled headers are not supported with multiple architectures. - if(NOT "$ENV{CMAKE_OSX_ARCHITECTURES}" MATCHES "[;$]") - set(RunCMake_TEST_NO_CLEAN 1) - run_cmake_command(${name}-build ${CMAKE_COMMAND} --build . --config Debug) - run_cmake_command(${name}-test ${CMAKE_CTEST_COMMAND} -C Debug) - endif() + set(RunCMake_TEST_NO_CLEAN 1) + run_cmake_command(${name}-build ${CMAKE_COMMAND} --build . --config Debug) + run_cmake_command(${name}-test ${CMAKE_CTEST_COMMAND} -C Debug) endfunction() run_cmake(DisabledPch) |