diff options
| author | Thad House <thadhouse1@gmail.com> | 2019-04-14 10:44:42 -0700 |
|---|---|---|
| committer | Thad House <thadhouse1@gmail.com> | 2019-04-14 11:09:32 -0700 |
| commit | dd2100ee80b3dc458ecac5e55eaf00808651eb99 (patch) | |
| tree | 0742cd7511356d3b8e33df647c962f9aeccfa6f5 /scripts/buildsystems/vcpkg.cmake | |
| parent | 6500d20d482325a4ba2512ac00bdc27300ff98ed (diff) | |
| download | vcpkg-dd2100ee80b3dc458ecac5e55eaf00808651eb99.tar.gz vcpkg-dd2100ee80b3dc458ecac5e55eaf00808651eb99.zip | |
VS 2019 support
Diffstat (limited to 'scripts/buildsystems/vcpkg.cmake')
| -rw-r--r-- | scripts/buildsystems/vcpkg.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/buildsystems/vcpkg.cmake b/scripts/buildsystems/vcpkg.cmake index 29bbd7523..1a6345563 100644 --- a/scripts/buildsystems/vcpkg.cmake +++ b/scripts/buildsystems/vcpkg.cmake @@ -39,10 +39,12 @@ else() set(_VCPKG_TARGET_TRIPLET_ARCH x86) elseif(CMAKE_GENERATOR MATCHES "^Visual Studio 16 2019 Win64$") set(_VCPKG_TARGET_TRIPLET_ARCH x64) + elseif(CMAKE_GENERATOR MATCHES "^Visual Studio 16 2019 Win32$") + set(_VCPKG_TARGET_TRIPLET_ARCH x86) elseif(CMAKE_GENERATOR MATCHES "^Visual Studio 16 2019 ARM$") set(_VCPKG_TARGET_TRIPLET_ARCH arm) 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$") |
