diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2018-03-02 08:59:17 -0800 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-03-02 09:25:32 -0800 |
| commit | bad51b04626f25d323433ec159af1d60f93cadb1 (patch) | |
| tree | 8338776b1b8901a11327b55663690aeb68f11f94 /scripts | |
| parent | 01ba04e9a737a2b68993e196b7980ce56b8fde00 (diff) | |
| download | vcpkg-bad51b04626f25d323433ec159af1d60f93cadb1.tar.gz vcpkg-bad51b04626f25d323433ec159af1d60f93cadb1.zip | |
[vcpkg] Improve handling of external toolchain files
Diffstat (limited to 'scripts')
| -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 7b738bd5e..50001e97d 100644 --- a/scripts/buildsystems/vcpkg.cmake +++ b/scripts/buildsystems/vcpkg.cmake @@ -59,7 +59,9 @@ 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) -elseif(CMAKE_HOST_SYSTEM_NAME STREQUAL "Windows") +elseif(CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin") + set(_VCPKG_TARGET_TRIPLET_PLAT osx) +else() set(_VCPKG_TARGET_TRIPLET_PLAT windows) endif() |
