diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 9b211110c..2b762b6c0 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -74,6 +74,9 @@ SET(RSPAMDLIBSRC ../src/binlog.c IF(WITH_DB) LIST(APPEND RSPAMDLIBSRC ../src/kvstorage_bdb.c) ENDIF(WITH_DB) +IF(WITH_SQLITE) + LIST(APPEND RSPAMDLIBSRC ../src/kvstorage_sqlite.c) +ENDIF(WITH_SQLITE) ADD_LIBRARY(rspamdserver STATIC ${RSPAMDLIBSRC}) SET_TARGET_PROPERTIES(rspamdserver PROPERTIES LINKER_LANGUAGE C) |