mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 11:21:12 +08:00
Improve Target Architecture Detection on ARM64 Windows (#27479)
- Fixes #27477 Co-authored-by: Cheney Wang (Beyondsoft Corporation) <v-xincwa@microsoft.com>
This commit is contained in:
parent
04429e4938
commit
2d6279beda
@ -321,7 +321,7 @@ else()
|
|||||||
set(Z_VCPKG_TARGET_TRIPLET_ARCH ppc64le)
|
set(Z_VCPKG_TARGET_TRIPLET_ARCH ppc64le)
|
||||||
elseif(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "armv7l")
|
elseif(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "armv7l")
|
||||||
set(Z_VCPKG_TARGET_TRIPLET_ARCH arm)
|
set(Z_VCPKG_TARGET_TRIPLET_ARCH arm)
|
||||||
elseif(CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "^(aarch64|arm64)$")
|
elseif(CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "^(aarch64|arm64|ARM64)$")
|
||||||
set(Z_VCPKG_TARGET_TRIPLET_ARCH arm64)
|
set(Z_VCPKG_TARGET_TRIPLET_ARCH arm64)
|
||||||
else()
|
else()
|
||||||
if(Z_VCPKG_CMAKE_IN_TRY_COMPILE)
|
if(Z_VCPKG_CMAKE_IN_TRY_COMPILE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user