mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-16 19:26:34 +08:00
use VCPKG_CMAKE_SYSTEM_NAME instead of TRIPLET_SYSTEM_NAME
This commit is contained in:
parent
af9d82ceb3
commit
c128d007df
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user