summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/XcodeProject/XcodeIOSInstallCombinedSingleArch-install-check.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-09-30 16:07:55 (GMT)
committerBrad King <brad.king@kitware.com>2022-09-30 17:08:05 (GMT)
commit5d2c2b2558d08db184a25db0d8208df352ecdb48 (patch)
tree0e44b3cb54ec31317d6f448140f54081839e37d2 /Tests/RunCMake/XcodeProject/XcodeIOSInstallCombinedSingleArch-install-check.cmake
parent12c6fec6b46f8a55ab96404532fca1ff81ef029a (diff)
downloadCMake-5d2c2b2558d08db184a25db0d8208df352ecdb48.zip
CMake-5d2c2b2558d08db184a25db0d8208df352ecdb48.tar.gz
CMake-5d2c2b2558d08db184a25db0d8208df352ecdb48.tar.bz2
Tests: Update RunCMake.XcodeProject iOS cases for Xcode 14.0
Issue: #24011
Diffstat (limited to 'Tests/RunCMake/XcodeProject/XcodeIOSInstallCombinedSingleArch-install-check.cmake')
-rw-r--r--Tests/RunCMake/XcodeProject/XcodeIOSInstallCombinedSingleArch-install-check.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/Tests/RunCMake/XcodeProject/XcodeIOSInstallCombinedSingleArch-install-check.cmake b/Tests/RunCMake/XcodeProject/XcodeIOSInstallCombinedSingleArch-install-check.cmake
index 3c11ae0..db8f869 100644
--- a/Tests/RunCMake/XcodeProject/XcodeIOSInstallCombinedSingleArch-install-check.cmake
+++ b/Tests/RunCMake/XcodeProject/XcodeIOSInstallCombinedSingleArch-install-check.cmake
@@ -12,7 +12,11 @@ function(verify_architecture file)
string(REGEX MATCHALL "is architecture: [^ \n\t]+" architecture "${lipo_out}")
string(REGEX REPLACE "is architecture: " "" actual "${architecture}")
- set(expected armv7)
+ if(XCODE_VERSION VERSION_GREATER_EQUAL 14)
+ set(expected arm64)
+ else()
+ set(expected armv7)
+ endif()
if(NOT actual STREQUAL expected)
message(SEND_ERROR