added rtree and unlock_notify support to builds of sqlite (odb needs this)

This commit is contained in:
Charles Barto 2016-10-18 16:01:48 -04:00
parent 829f32e18b
commit 20a9bb8acb

View File

@ -3,7 +3,11 @@ project(sqlite3 C)
include_directories(${SOURCE})
add_library(sqlite3 SHARED ${SOURCE}/sqlite3.c)
target_compile_definitions(sqlite3 PRIVATE $<$<CONFIG:Debug>:-DSQLITE_DEBUG> "-DSQLITE_API=__declspec(dllexport)")
target_compile_definitions(sqlite3 PRIVATE
$<$<CONFIG:Debug>:-DSQLITE_DEBUG> "-DSQLITE_API=__declspec(dllexport)"
-DSQLITE_ENABLE_RTREE
-DSQLITE_ENABLE_UNLOCK_NOTIFY
)
if(TRIPLET_SYSTEM_NAME MATCHES "WindowsStore")
target_compile_definitions(sqlite3 PRIVATE -DSQLITE_OS_WINRT=1)
endif()