summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-21 12:28:41 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-21 12:28:41 +0000
commitc2ff857a70752a83e9d19184d140826fbed9f467 (patch)
treea59a47ead6b6825fdf3b9fe999f87e35c5137fd3 /src/CMakeLists.txt
parenta9dcf6a0b3f49b63be438d4cfefbcd315a14df6f (diff)
downloadrspamd-c2ff857a70752a83e9d19184d140826fbed9f467.tar.gz
rspamd-c2ff857a70752a83e9d19184d140826fbed9f467.zip
Add detection of libfann
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index fc85428ca..385de9eb8 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -127,6 +127,10 @@ IF (ENABLE_SNOWBALL MATCHES "ON")
ENDIF()
TARGET_LINK_LIBRARIES(rspamd rspamd-actrie)
+IF (ENABLE_FANN MATCHES "ON")
+ TARGET_LINK_LIBRARIES(rspamd fann)
+ENDIF ()
+
IF (ENABLE_HYPERSCAN MATCHES "ON")
TARGET_LINK_LIBRARIES(rspamd hs)
SET_TARGET_PROPERTIES(rspamd PROPERTIES LINKER_LANGUAGE CXX)