7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-21 23:13:43 +00:00

Fix python find directly on arm64 windows

This commit is contained in:
Mark Roszko 2024-07-31 17:45:25 -04:00
parent 8a7451c674
commit a7d493a6a5

View File

@ -80,8 +80,10 @@ elseif(VCPKG_TOOLCHAIN)
# the main problem being nobody seems to actually cross-compile kicad
# and insteads compiles it painfully on slow hardware
set(INTERP_TRIPLET "${VCPKG_TARGET_TRIPLET}")
if(${VCPKG_TARGET_TRIPLET} STREQUAL "arm64-windows")
set(INTERP_TRIPLET "x64-windows")
if(NOT "${CMAKE_HOST_SYSTEM_PROCESSOR}" STREQUAL "ARM64")
if(${VCPKG_TARGET_TRIPLET} STREQUAL "arm64-windows")
set(INTERP_TRIPLET "x64-windows")
endif()
endif()
# Our VCPKG usage will always place it in a known location