mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-02 04:09:33 -05:00
Tests: Update RunCMake.XcodeProject iOS cases for Xcode 14.0
Issue: #24011
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user