use VCPKG_CMAKE_SYSTEM_NAME instead of TRIPLET_SYSTEM_NAME

This commit is contained in:
Dale Stammen 2016-12-06 10:08:15 -08:00
parent af9d82ceb3
commit c128d007df

View File

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