From 2d6279beda8f52e3bc35dc9bd8e48f55062c9177 Mon Sep 17 00:00:00 2001 From: Glen Chung <105310954+kuchungmsft@users.noreply.github.com> Date: Thu, 17 Nov 2022 22:48:47 -0800 Subject: [PATCH] Improve Target Architecture Detection on ARM64 Windows (#27479) - Fixes #27477 Co-authored-by: Cheney Wang (Beyondsoft Corporation) --- scripts/buildsystems/vcpkg.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/buildsystems/vcpkg.cmake b/scripts/buildsystems/vcpkg.cmake index cd84925425..cc9e3cfab7 100644 --- a/scripts/buildsystems/vcpkg.cmake +++ b/scripts/buildsystems/vcpkg.cmake @@ -321,7 +321,7 @@ else() set(Z_VCPKG_TARGET_TRIPLET_ARCH ppc64le) elseif(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "armv7l") 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) else() if(Z_VCPKG_CMAKE_IN_TRY_COMPILE)