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()