File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ function(dispatch_windows_arch_spelling arch var)
6
6
set (${var} x64 PARENT_SCOPE )
7
7
elseif (${arch} STREQUAL armv7 )
8
8
set (${var} arm PARENT_SCOPE )
9
- elseif (${arch} STREQUAL aarch64 )
9
+ elseif (${arch} STREQUAL aarch64 OR ${arch} STREQUAL ARM64 )
10
10
set (${var} arm64 PARENT_SCOPE )
11
11
else ()
12
12
message (FATAL_ERROR "do not know MSVC spelling for ARCH: `${arch} `" )
Original file line number Diff line number Diff line change 9
9
function (get_swift_host_arch result_var_name )
10
10
if ("${CMAKE_SYSTEM_PROCESSOR} " STREQUAL "x86_64" )
11
11
set ("${result_var_name} " "x86_64" PARENT_SCOPE )
12
- elseif ("${CMAKE_SYSTEM_PROCESSOR} " MATCHES "AArch64|aarch64|arm64" )
12
+ elseif ("${CMAKE_SYSTEM_PROCESSOR} " MATCHES "AArch64|aarch64|arm64|ARM64 " )
13
13
if (CMAKE_SYSTEM_NAME MATCHES Darwin )
14
14
set ("${result_var_name} " "arm64" PARENT_SCOPE )
15
15
else ()
You can’t perform that action at this time.
0 commit comments