aboutsummaryrefslogtreecommitdiff
path: root/scripts/buildsystems/vcpkg.cmake
diff options
context:
space:
mode:
authorChristian Fersch <git@chron.visiondesigns.de>2020-05-21 20:39:03 +0200
committerGitHub <noreply@github.com>2020-05-21 11:39:03 -0700
commitcbe795f7888861167f9e930397fed97158d1f7dc (patch)
treee0a1e31268fd300bd28956da9d4f2957ec5a83d9 /scripts/buildsystems/vcpkg.cmake
parent30cae466eafe3f040041a6dc9e321b0cf72b48ea (diff)
downloadvcpkg-cbe795f7888861167f9e930397fed97158d1f7dc.tar.gz
vcpkg-cbe795f7888861167f9e930397fed97158d1f7dc.zip
[vcpkg] Fix cmake architecture detection on windows with ninja generator (#11466)
Diffstat (limited to 'scripts/buildsystems/vcpkg.cmake')
-rw-r--r--scripts/buildsystems/vcpkg.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/buildsystems/vcpkg.cmake b/scripts/buildsystems/vcpkg.cmake
index 963546e98..66f9ec921 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 )