aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-11-01 19:48:08 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-11-01 19:48:08 +0300
commit7770c0c2ff70150fe33358a461fadf91e01ae23f (patch)
tree74ec845002dbd64b0fafed52e1b228616ffb71dc /lib
parentd194a7d577985268ff5f7f29379c90d694a8f230 (diff)
downloadrspamd-7770c0c2ff70150fe33358a461fadf91e01ae23f.tar.gz
rspamd-7770c0c2ff70150fe33358a461fadf91e01ae23f.zip
* Add initial support of bdb backend
Diffstat (limited to 'lib')
-rw-r--r--lib/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index e7a9e51e0..9b211110c 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -70,6 +70,10 @@ SET(RSPAMDLIBSRC ../src/binlog.c
../src/url.c
../src/util.c
../src/view.c)
+
+IF(WITH_DB)
+ LIST(APPEND RSPAMDLIBSRC ../src/kvstorage_bdb.c)
+ENDIF(WITH_DB)
ADD_LIBRARY(rspamdserver STATIC ${RSPAMDLIBSRC})
SET_TARGET_PROPERTIES(rspamdserver PROPERTIES LINKER_LANGUAGE C)