We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7f999b commit cce4323Copy full SHA for cce4323
CMakeLists.txt
@@ -71,6 +71,9 @@ if(WIN32)
71
elseif(NOT "$ENV{PROCESSOR_ARCHITEW6432}" STREQUAL "")
72
set(CMAKE_SYSTEM_PROCESSOR "$ENV{PROCESSOR_ARCHITEW6432}")
73
set(VCPKG_TARGET_TRIPLET "x86-windows-static")
74
+ elseif("$ENV{Platform}" STREQUAL "arm64")
75
+ set(CMAKE_SYSTEM_PROCESSOR "arm64")
76
+ set(VCPKG_TARGET_TRIPLET "arm64-windows-static")
77
else()
78
set(CMAKE_SYSTEM_PROCESSOR "$ENV{PROCESSOR_ARCHITECTURE}")
79
set(VCPKG_TARGET_TRIPLET "x64-windows-static")
0 commit comments