From c128d007df40ee0f4a55f954cb153ddd983a4d36 Mon Sep 17 00:00:00 2001 From: Dale Stammen Date: Tue, 6 Dec 2016 10:08:15 -0800 Subject: [PATCH] use VCPKG_CMAKE_SYSTEM_NAME instead of TRIPLET_SYSTEM_NAME --- ports/sqlite3/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 $) -if(TRIPLET_SYSTEM_NAME MATCHES "WindowsStore") + +if(VCPKG_CMAKE_SYSTEM_NAME MATCHES "WindowsStore") target_compile_definitions(sqlite3 PRIVATE -DSQLITE_OS_WINRT=1) endif()