Skip to content

Commit 87873c5

Browse files
committed
Handle windows-on-arm ARM64 host arch in cmake
It seems CMake doesn't help normalize anything in this regard.
1 parent e8f6f1c commit 87873c5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/ba-download.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ function(ba_download target repo version)
99
set(arch "aarch64")
1010
elseif (CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "AMD64")
1111
set(arch "x86_64")
12+
elseif (CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "ARM64")
13+
set(arch "aarch64")
1214
else()
1315
set(arch "UNKNOWN_ARCH")
1416
message(WARNING "Unsupported architecture ${CMAKE_HOST_SYSTEM_PROCESSOR} for ${target}")

0 commit comments

Comments
 (0)