Build SQLCiper with SQLITE_OMIT_DEPRECATED.

This commit is contained in:
levlam 2020-12-15 01:20:56 +03:00
parent 3114ef0b0c
commit 84012cc6fd

View File

@ -34,7 +34,7 @@ target_compile_definitions(tdsqlite PRIVATE
-DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_OMIT_LOAD_EXTENSION
-DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_DECLTYPE
-DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_PROGRESS_CALLBACK
#-DSQLITE_OMIT_DEPRECATED # SQLCipher uses deprecated sqlite3_profile -DSQLITE_OMIT_DEPRECATED
#-DSQLITE_OMIT_SHARED_CACHE #-DSQLITE_OMIT_SHARED_CACHE
) )
target_compile_definitions(tdsqlite PRIVATE -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DSQLITE_ENABLE_FTS5 -DSQLITE_DISABLE_LFS -DOMIT_MEMLOCK) target_compile_definitions(tdsqlite PRIVATE -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DSQLITE_ENABLE_FTS5 -DSQLITE_DISABLE_LFS -DOMIT_MEMLOCK)