mirror of https://github.com/microsoft/vcpkg.git
[vcpkg] Only default target triplet to windows if on windows
This commit is contained in:
parent
b496f7df49
commit
b4668e664a
|
|
@ -54,7 +54,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "WindowsStore" OR CMAKE_SYSTEM_NAME STREQUAL "Wind
|
|||
set(_VCPKG_TARGET_TRIPLET_PLAT uwp)
|
||||
elseif(CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux")
|
||||
set(_VCPKG_TARGET_TRIPLET_PLAT linux)
|
||||
else()
|
||||
elseif(CMAKE_HOST_SYSTEM_NAME STREQUAL "Windows")
|
||||
set(_VCPKG_TARGET_TRIPLET_PLAT windows)
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue