aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-11-02 17:49:09 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-11-02 17:49:09 +0300
commitf678526b2089826fba0299c88b9258bc48f748c4 (patch)
treeb74c641d73e660bb9a6147335a646a468cb54d06 /lib/CMakeLists.txt
parentb50b716c78c39249e15b92132e2ee9d75639be17 (diff)
downloadrspamd-f678526b2089826fba0299c88b9258bc48f748c4.tar.gz
rspamd-f678526b2089826fba0299c88b9258bc48f748c4.zip
* Implement sqlite3 backend for kvstorage.
Diffstat (limited to 'lib/CMakeLists.txt')
-rw-r--r--lib/CMakeLists.txt3
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)