diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-11-28 13:17:10 -0800 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-11-28 13:17:10 -0800 |
| commit | b4668e664a4db7b8bc9e9c4c202312e0fb7a8ff9 (patch) | |
| tree | 11874536240004d67f93d98b286bb6bc9cecff4c /scripts | |
| parent | b496f7df493085d4e9b83082f33258bc164dcece (diff) | |
| download | vcpkg-b4668e664a4db7b8bc9e9c4c202312e0fb7a8ff9.tar.gz vcpkg-b4668e664a4db7b8bc9e9c4c202312e0fb7a8ff9.zip | |
[vcpkg] Only default target triplet to windows if on windows
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/buildsystems/vcpkg.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/buildsystems/vcpkg.cmake b/scripts/buildsystems/vcpkg.cmake index 8edc2830c..24f6d855e 100644 --- a/scripts/buildsystems/vcpkg.cmake +++ b/scripts/buildsystems/vcpkg.cmake @@ -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() |
