mirror of
https://github.com/apple/swift-collections
synced 2026-11-28 05:04:21 +00:00
build: add ARM64 to the architecture mappings for Windows
Windows uses `ARM64` for `CMAKE_SYSTEM_PROCESSOR` which does not match the current spellings.
This commit is contained in:
1 parent
937e904258
commit
5dc7a8970e
1 file changed
+1
-1
@@ -17,7 +17,7 @@ See https://swift.org/LICENSE.txt for license information
|
||||
function(get_swift_host_arch result_var_name)
|
||||
if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64")
|
||||
set("${result_var_name}" "x86_64" PARENT_SCOPE)
|
||||
elseif ("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "AArch64|aarch64|arm64")
|
||||
elseif ("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "AArch64|aarch64|arm64|ARM64")
|
||||
if(CMAKE_SYSTEM_NAME MATCHES Darwin)
|
||||
set("${result_var_name}" "arm64" PARENT_SCOPE)
|
||||
else()
|
||||
|
||||
Reference in new issue
Block a user