diff options
author | Brad King <brad.king@kitware.com> | 2020-09-15 18:01:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-09-18 17:46:39 (GMT) |
commit | fe258f638276c879bbdd2ac165ac4caba0efc921 (patch) | |
tree | 30649a05184ed2f78c52ca2d49767ff4b07587f4 /Tests/RunCMake/XcodeProject | |
parent | 1c3d2d09516f93707ce2f62f02e5ce52cd279cb1 (diff) | |
download | CMake-fe258f638276c879bbdd2ac165ac4caba0efc921.zip CMake-fe258f638276c879bbdd2ac165ac4caba0efc921.tar.gz CMake-fe258f638276c879bbdd2ac165ac4caba0efc921.tar.bz2 |
Tests: Skip RunCMake.XcodeProject device cases for Xcode "new build system"
The Xcode "new build system" selects different architectures for device
builds than the old build system does. Skip those tests on Xcode 12+
pending further investigation.
Issue: #21206
Diffstat (limited to 'Tests/RunCMake/XcodeProject')
-rw-r--r-- | Tests/RunCMake/XcodeProject/RunCMakeTest.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/XcodeProject/RunCMakeTest.cmake b/Tests/RunCMake/XcodeProject/RunCMakeTest.cmake index 68de61c..34fc26e 100644 --- a/Tests/RunCMake/XcodeProject/RunCMakeTest.cmake +++ b/Tests/RunCMake/XcodeProject/RunCMakeTest.cmake @@ -108,6 +108,11 @@ XcodeRemoveExcessiveISystem() # Isolate device tests from host architecture selection. unset(ENV{CMAKE_OSX_ARCHITECTURES}) +if(XCODE_VERSION VERSION_GREATER_EQUAL 12) + # FIXME: Restore device tests and fix them for the Xcode "new build system" + return() +endif() + # Use a single build tree for a few tests without cleaning. if(NOT XCODE_VERSION VERSION_LESS 5) |