diff options
| author | Christian Fersch <git@chron.visiondesigns.de> | 2020-05-21 20:39:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-21 11:39:03 -0700 |
| commit | cbe795f7888861167f9e930397fed97158d1f7dc (patch) | |
| tree | e0a1e31268fd300bd28956da9d4f2957ec5a83d9 /scripts/buildsystems/vcpkg.cmake | |
| parent | 30cae466eafe3f040041a6dc9e321b0cf72b48ea (diff) | |
| download | vcpkg-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.cmake | 2 |
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 ) |
