mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-15 01:58:14 +08:00
[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)
|
set(_VCPKG_TARGET_TRIPLET_PLAT uwp)
|
||||||
elseif(CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux")
|
elseif(CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux")
|
||||||
set(_VCPKG_TARGET_TRIPLET_PLAT linux)
|
set(_VCPKG_TARGET_TRIPLET_PLAT linux)
|
||||||
else()
|
elseif(CMAKE_HOST_SYSTEM_NAME STREQUAL "Windows")
|
||||||
set(_VCPKG_TARGET_TRIPLET_PLAT windows)
|
set(_VCPKG_TARGET_TRIPLET_PLAT windows)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user