diff options
author | Cristian Adam <cristian.adam@gmail.com> | 2020-04-02 12:16:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-04-02 15:51:19 (GMT) |
commit | f593b354da2e9637e9b869688934f0ba2544ebed (patch) | |
tree | 605f4a05ad9773e658fd14974f7000f769a90014 /Tests/RunCMake/PrecompileHeaders | |
parent | be154ea1e3efcd1a13952701337378a01ca0cd19 (diff) | |
download | CMake-f593b354da2e9637e9b869688934f0ba2544ebed.zip CMake-f593b354da2e9637e9b869688934f0ba2544ebed.tar.gz CMake-f593b354da2e9637e9b869688934f0ba2544ebed.tar.bz2 |
PCH: Add support for multi architecture iOS projects
Fixes: #20497
Diffstat (limited to 'Tests/RunCMake/PrecompileHeaders')
-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) |