aboutsummaryrefslogtreecommitdiffhomepage
path: root/sqlite
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2020-12-15 01:20:56 +0300
committerlevlam <levlam@telegram.org>2020-12-15 01:20:56 +0300
commit84012cc6fda83be7eb43527053d6092a0aaaa9d7 (patch)
treea03ea34c38a3d350e43a0aedd93ed54e75f8c925 /sqlite
parent3114ef0b0cb5d50ebed0e96d238f8ee00a8cc270 (diff)
Build SQLCiper with SQLITE_OMIT_DEPRECATED.
Diffstat (limited to 'sqlite')
-rw-r--r--sqlite/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlite/CMakeLists.txt b/sqlite/CMakeLists.txt
index 319fe0d11..30ab83e51 100644
--- a/sqlite/CMakeLists.txt
+++ b/sqlite/CMakeLists.txt
@@ -34,7 +34,7 @@ target_compile_definitions(tdsqlite PRIVATE
-DSQLITE_OMIT_LOAD_EXTENSION
-DSQLITE_OMIT_DECLTYPE
-DSQLITE_OMIT_PROGRESS_CALLBACK
- #-DSQLITE_OMIT_DEPRECATED # SQLCipher uses deprecated sqlite3_profile
+ -DSQLITE_OMIT_DEPRECATED
#-DSQLITE_OMIT_SHARED_CACHE
)
target_compile_definitions(tdsqlite PRIVATE -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DSQLITE_ENABLE_FTS5 -DSQLITE_DISABLE_LFS -DOMIT_MEMLOCK)