diff options
| author | Dale Stammen <dalestam@microsoft.com> | 2016-12-06 10:08:15 -0800 |
|---|---|---|
| committer | Dale Stammen <dalestam@microsoft.com> | 2016-12-06 10:08:15 -0800 |
| commit | c128d007df40ee0f4a55f954cb153ddd983a4d36 (patch) | |
| tree | 2294a6ddff4429277a452d830ae0afad87d3dc5b | |
| parent | af9d82ceb34f51187ce3456b740f7c75350a139c (diff) | |
| download | vcpkg-c128d007df40ee0f4a55f954cb153ddd983a4d36.tar.gz vcpkg-c128d007df40ee0f4a55f954cb153ddd983a4d36.zip | |
use VCPKG_CMAKE_SYSTEM_NAME instead of TRIPLET_SYSTEM_NAME
| -rw-r--r-- | ports/sqlite3/CMakeLists.txt | 3 |
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() |
