diff options
| author | Charles Barto <bartoc@umich.edu> | 2016-10-18 16:01:48 -0400 |
|---|---|---|
| committer | Charles Barto <bartoc@umich.edu> | 2016-10-18 19:57:50 -0400 |
| commit | 20a9bb8acbf75036229db25504f9c7cc0f9900e0 (patch) | |
| tree | 0902952ce5cdb79aa66d41536a8301e95f1d54aa | |
| parent | 829f32e18b7fb67b5b419e84e425f59d57716c6b (diff) | |
| download | vcpkg-20a9bb8acbf75036229db25504f9c7cc0f9900e0.tar.gz vcpkg-20a9bb8acbf75036229db25504f9c7cc0f9900e0.zip | |
added rtree and unlock_notify support to builds of sqlite (odb needs this)
| -rw-r--r-- | ports/sqlite3/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
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 $<$<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() |
