Make VS 2019 default to x64 (#9816)

Since CMake also does this
This commit is contained in:
Alexander Neumann 2020-01-24 21:26:35 +01:00 committed by Victor Romero
parent 8c77506c4f
commit ed0df8ecc4

View File

@ -67,7 +67,7 @@ else()
elseif(CMAKE_GENERATOR MATCHES "^Visual Studio 15 2017$")
set(_VCPKG_TARGET_TRIPLET_ARCH x86)
elseif(CMAKE_GENERATOR MATCHES "^Visual Studio 16 2019$")
set(_VCPKG_TARGET_TRIPLET_ARCH x86)
set(_VCPKG_TARGET_TRIPLET_ARCH x64)
else()
find_program(_VCPKG_CL cl)
if(_VCPKG_CL MATCHES "amd64/cl.exe$" OR _VCPKG_CL MATCHES "x64/cl.exe$")