diff options
author | Gregor Jasny <gjasny@googlemail.com> | 2017-10-08 19:17:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-10-10 13:08:44 (GMT) |
commit | 78a560e42bc475ff3fbebd8baa1f12ea0f3ea172 (patch) | |
tree | 7bb15f3abb79e6153d012498bb5dc720c4feb42f /Tests/RunCMake/XcodeProject/XcodeInstallIOS.cmake | |
parent | d210b2813072c874ee13fcc941e41aacacf09874 (diff) | |
download | CMake-78a560e42bc475ff3fbebd8baa1f12ea0f3ea172.zip CMake-78a560e42bc475ff3fbebd8baa1f12ea0f3ea172.tar.gz CMake-78a560e42bc475ff3fbebd8baa1f12ea0f3ea172.tar.bz2 |
Revert "Xcode: Adjust tests to drop of 32bit iOS architectures"
This reverts commit d210b2813072c874ee13fcc941e41aacacf09874.
Diffstat (limited to 'Tests/RunCMake/XcodeProject/XcodeInstallIOS.cmake')
-rw-r--r-- | Tests/RunCMake/XcodeProject/XcodeInstallIOS.cmake | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Tests/RunCMake/XcodeProject/XcodeInstallIOS.cmake b/Tests/RunCMake/XcodeProject/XcodeInstallIOS.cmake index f629f2e..a797410 100644 --- a/Tests/RunCMake/XcodeProject/XcodeInstallIOS.cmake +++ b/Tests/RunCMake/XcodeProject/XcodeInstallIOS.cmake @@ -6,11 +6,7 @@ set(CMAKE_OSX_SYSROOT iphoneos) set(XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED "NO") set(CMAKE_XCODE_ATTRIBUTE_ENABLE_BITCODE "NO") -if(XCODE_VERSION VERSION_GREATER_EQUAL 9) - set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64") -else() - set(CMAKE_OSX_ARCHITECTURES "armv7;i386") -endif() +set(CMAKE_OSX_ARCHITECTURES "armv7;i386") add_library(foo STATIC foo.cpp) install(TARGETS foo ARCHIVE DESTINATION lib) |