aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2016-12-07 21:34:44 -0800
committerGitHub <noreply@github.com>2016-12-07 21:34:44 -0800
commit97b0479db07f4c0e07092ccc21297d7fa181ed55 (patch)
tree5df0ecb781a2284cb1c280904011ac5f69310035
parentf2a8323be23fee1b64edd6c33a7b8731b6fe26bc (diff)
parentc128d007df40ee0f4a55f954cb153ddd983a4d36 (diff)
downloadvcpkg-97b0479db07f4c0e07092ccc21297d7fa181ed55.tar.gz
vcpkg-97b0479db07f4c0e07092ccc21297d7fa181ed55.zip
Merge pull request #395 from stammen/uwp-sqlite
UWP: use VCPKG_CMAKE_SYSTEM_NAME instead of TRIPLET_SYSTEM_NAME
-rw-r--r--ports/sqlite3/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/sqlite3/CMakeLists.txt b/ports/sqlite3/CMakeLists.txt
index 760684493..dbe636b79 100644
--- a/ports/sqlite3/CMakeLists.txt
+++ b/ports/sqlite3/CMakeLists.txt
@@ -17,7 +17,8 @@ target_compile_definitions(sqlite3 PRIVATE
-DSQLITE_ENABLE_UNLOCK_NOTIFY
)
target_include_directories(sqlite3 INTERFACE $<INSTALL_INTERFACE:include>)
-if(TRIPLET_SYSTEM_NAME MATCHES "WindowsStore")
+
+if(VCPKG_CMAKE_SYSTEM_NAME MATCHES "WindowsStore")
target_compile_definitions(sqlite3 PRIVATE -DSQLITE_OS_WINRT=1)
endif()