summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/XcodeProject/XcodeIOSInstallCombined-install-check.cmake
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2017-10-05 10:54:15 (GMT)
committerGregor Jasny <gjasny@googlemail.com>2017-10-05 12:10:28 (GMT)
commitd210b2813072c874ee13fcc941e41aacacf09874 (patch)
tree1132cbdfd9871fc8264dac303d1a9bb87122dd71 /Tests/RunCMake/XcodeProject/XcodeIOSInstallCombined-install-check.cmake
parent78d4a3db034ac6e15932fb51233c489f8faa360e (diff)
downloadCMake-d210b2813072c874ee13fcc941e41aacacf09874.zip
CMake-d210b2813072c874ee13fcc941e41aacacf09874.tar.gz
CMake-d210b2813072c874ee13fcc941e41aacacf09874.tar.bz2
Xcode: Adjust tests to drop of 32bit iOS architectures
Diffstat (limited to 'Tests/RunCMake/XcodeProject/XcodeIOSInstallCombined-install-check.cmake')
-rw-r--r--Tests/RunCMake/XcodeProject/XcodeIOSInstallCombined-install-check.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/Tests/RunCMake/XcodeProject/XcodeIOSInstallCombined-install-check.cmake b/Tests/RunCMake/XcodeProject/XcodeIOSInstallCombined-install-check.cmake
index a1c0671..cd71205 100644
--- a/Tests/RunCMake/XcodeProject/XcodeIOSInstallCombined-install-check.cmake
+++ b/Tests/RunCMake/XcodeProject/XcodeIOSInstallCombined-install-check.cmake
@@ -13,7 +13,11 @@ function(verify_architectures file)
string(REPLACE "architecture " "" actual "${architectures}")
list(SORT actual)
- set(expected arm64 armv7 i386 x86_64)
+ if(XCODE_VERSION VERSION_GREATER_EQUAL 9)
+ set(expected arm64 x86_64)
+ else()
+ set(expected arm64 armv7 i386 x86_64)
+ endif()
if(NOT actual STREQUAL expected)
message(SEND_ERROR