aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2016-12-07 21:40:36 -0800
committerRobert Schumacher <roschuma@microsoft.com>2016-12-07 21:40:36 -0800
commit31b713ca1fe74f784f01cdc6ed0cfdaf4a5fcaf7 (patch)
tree8c0fff779c00ebfd28462660415740cd1696239d /ports
parent97b0479db07f4c0e07092ccc21297d7fa181ed55 (diff)
downloadvcpkg-31b713ca1fe74f784f01cdc6ed0cfdaf4a5fcaf7.tar.gz
vcpkg-31b713ca1fe74f784f01cdc6ed0cfdaf4a5fcaf7.zip
[vcpkg] Remove all instances of TRIPLET_SYSTEM_NAME; use VCPKG_CMAKE_SYSTEM_NAME instead.
Diffstat (limited to 'ports')
-rw-r--r--ports/boost/portfile.cmake2
-rw-r--r--ports/sdl2/portfile.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/boost/portfile.cmake b/ports/boost/portfile.cmake
index f9d70554a..fcf60402b 100644
--- a/ports/boost/portfile.cmake
+++ b/ports/boost/portfile.cmake
@@ -55,7 +55,7 @@ endif()
if(TRIPLET_SYSTEM_ARCH MATCHES "x64")
list(APPEND B2_OPTIONS address-model=64)
endif()
-if(TRIPLET_SYSTEM_NAME MATCHES "WindowsStore")
+if(VCPKG_CMAKE_SYSTEM_NAME MATCHES "WindowsStore")
list(APPEND B2_OPTIONS windows-api=store)
set(ENV{BOOST_BUILD_PATH} ${CMAKE_CURRENT_LIST_DIR})
endif()
diff --git a/ports/sdl2/portfile.cmake b/ports/sdl2/portfile.cmake
index 6fcb94c8b..fd9bbd8d4 100644
--- a/ports/sdl2/portfile.cmake
+++ b/ports/sdl2/portfile.cmake
@@ -11,7 +11,7 @@ vcpkg_download_distfile(ARCHIVE_FILE
)
vcpkg_extract_source_archive(${ARCHIVE_FILE})
-if(TRIPLET_SYSTEM_NAME MATCHES "WindowsStore")
+if(VCPKG_CMAKE_SYSTEM_NAME MATCHES "WindowsStore")
vcpkg_build_msbuild(
PROJECT_PATH ${SOURCE_PATH}/VisualC-WinRT/UWP_VS2015/SDL-UWP.vcxproj
)