mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
add support for VS 2017
This commit is contained in:
parent
a7af1a727e
commit
447160a19e
@ -12,6 +12,12 @@ if(NOT VCPKG_TOOLCHAIN)
|
||||
set(_VCPKG_TARGET_TRIPLET_ARCH arm)
|
||||
elseif(CMAKE_GENERATOR MATCHES "^Visual Studio 14 2015$")
|
||||
set(_VCPKG_TARGET_TRIPLET_ARCH x86)
|
||||
elseif(CMAKE_GENERATOR MATCHES "^Visual Studio 15 2017 Win64$")
|
||||
set(_VCPKG_TARGET_TRIPLET_ARCH x64)
|
||||
elseif(CMAKE_GENERATOR MATCHES "^Visual Studio 15 2017 ARM")
|
||||
set(_VCPKG_TARGET_TRIPLET_ARCH arm)
|
||||
elseif(CMAKE_GENERATOR MATCHES "^Visual Studio 15 2017")
|
||||
set(_VCPKG_TARGET_TRIPLET_ARCH x86)
|
||||
else()
|
||||
find_program(_VCPKG_CL cl)
|
||||
if(_VCPKG_CL MATCHES "amd64/cl.exe$" OR _VCPKG_CL MATCHES "x64/cl.exe$")
|
||||
|
Loading…
x
Reference in New Issue
Block a user