From 20a9bb8acbf75036229db25504f9c7cc0f9900e0 Mon Sep 17 00:00:00 2001 From: Charles Barto Date: Tue, 18 Oct 2016 16:01:48 -0400 Subject: [PATCH] added rtree and unlock_notify support to builds of sqlite (odb needs this) --- ports/sqlite3/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ports/sqlite3/CMakeLists.txt b/ports/sqlite3/CMakeLists.txt index 3d5f73a4a..3afc61f4c 100644 --- a/ports/sqlite3/CMakeLists.txt +++ b/ports/sqlite3/CMakeLists.txt @@ -3,7 +3,11 @@ project(sqlite3 C) include_directories(${SOURCE}) add_library(sqlite3 SHARED ${SOURCE}/sqlite3.c) -target_compile_definitions(sqlite3 PRIVATE $<$:-DSQLITE_DEBUG> "-DSQLITE_API=__declspec(dllexport)") +target_compile_definitions(sqlite3 PRIVATE + $<$:-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()