Skip to content

Commit

Permalink
fix(cross-compile): Fix download of arm64 CMake binaries
Browse files Browse the repository at this point in the history
This commit fixes a regression introduced in 6674721 (feat: cross-compile
to Windows ARM (#326)).

It ensures the arm64 CMake binary package is downloaded when building
the corresponding CMake Windows arm64 wheels.

Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
  • Loading branch information
jcfr and henryiii committed Jun 7, 2023
1 parent b13c95e commit ee82fde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ if(CMakePythonDistributions_SUPERBUILD)
set(binary_archive "win32_binary")
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "ARM64" OR "$ENV{SETUPTOOLS_EXT_SUFFIX}" MATCHES arm64)
set(binary_achive "winarm64_binary")
set(binary_archive "winarm64_binary")
else()
set(binary_archive "win64_binary")
endif()
Expand Down

0 comments on commit ee82fde

Please sign in to comment.