Skip to content

Commit a95cc20

Browse files
fix: enable win-arm64 by x86-emulated version (#231)
Currently there is no win-arm64 CMake release yet, but x86 emulated version is working properly. As soon as CMake is released for win-arm64, that binary should be targeted.
1 parent 4657b17 commit a95cc20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ if(CMakePythonDistributions_SUPERBUILD)
7878
endif()
7979
if(WIN32)
8080
set(binary_archive "win32_binary")
81-
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
81+
if((CMAKE_SIZEOF_VOID_P EQUAL 8) AND NOT(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "ARM64"))
8282
set(binary_archive "win64_binary")
8383
endif()
8484
endif()

0 commit comments

Comments
 (0)