Make it possible to disable bundled SQLite

Also disable it in CMakeLists.txt which is used to install libdeltachat
system-wide.
This commit is contained in:
link2xt
2021-05-01 06:45:28 +03:00
parent 17ad4e99ee
commit abac35c872
2 changed files with 4 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ add_custom_command(
"target/release/libdeltachat.a"
"target/release/libdeltachat.so"
"target/release/pkgconfig/deltachat.pc"
COMMAND PREFIX=${CMAKE_INSTALL_PREFIX} ${CARGO} build --package deltachat_ffi --release
COMMAND PREFIX=${CMAKE_INSTALL_PREFIX} ${CARGO} build --package deltachat_ffi --release --no-default-features
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)