diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-12-15 14:41:15 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-12-15 14:41:15 +0400 |
commit | 9289af21db35126236c24d73f5c298c532ff6b12 (patch) | |
tree | d203a59d226f0e895362e58a8db296613b4736f1 /lib | |
parent | fbcc7af8a6bfb2c82d17180358bfdadf0228cddd (diff) | |
download | rspamd-9289af21db35126236c24d73f5c298c532ff6b12.tar.gz rspamd-9289af21db35126236c24d73f5c298c532ff6b12.zip |
Fix test build and shlibs depends.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CMakeLists.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 9c1c36ea2..4f0ede5b8 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -57,6 +57,13 @@ SET(LIBRSPAMDMIMESRC ../src/smtp_utils.c ../src/smtp_proto.c ../src/worker_util.c) + +SET(TOKENIZERSSRC ../src/tokenizers/tokenizers.c + ../src/tokenizers/osb.c) + +SET(CLASSIFIERSSRC ../src/classifiers/classifiers.c + ../src/classifiers/bayes.c + ../src/classifiers/winnow.c) # Add targets # Rspamdutil @@ -134,7 +141,7 @@ IF(WITH_SQLITE) LIST(APPEND LIBRSPAMDSERVERSRC ../src/kvstorage_sqlite.c) ENDIF(WITH_SQLITE) -ADD_LIBRARY(rspamd-server ${LINK_TYPE} ${LIBRSPAMDSERVERSRC}) +ADD_LIBRARY(rspamd-server ${LINK_TYPE} ${LIBRSPAMDSERVERSRC} ${TOKENIZERSSRC} ${CLASSIFIERSSRC}) IF(NOT DEBIAN_BUILD) SET_TARGET_PROPERTIES(rspamd-server PROPERTIES VERSION ${RSPAMD_VERSION}) ENDIF(NOT DEBIAN_BUILD) |