From cbe795f7888861167f9e930397fed97158d1f7dc Mon Sep 17 00:00:00 2001 From: Christian Fersch Date: Thu, 21 May 2020 20:39:03 +0200 Subject: [PATCH] [vcpkg] Fix cmake architecture detection on windows with ninja generator (#11466) --- 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 963546e983..66f9ec921d 100644 --- a/scripts/buildsystems/vcpkg.cmake +++ b/scripts/buildsystems/vcpkg.cmake @@ -107,7 +107,7 @@ else() return() endif() endif() - elseif(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "x86_64") + elseif(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "AMD64") set(_VCPKG_TARGET_TRIPLET_ARCH x64) else() if( _CMAKE_IN_TRY_COMPILE )