diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-21 12:28:41 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-21 12:28:41 +0000 |
commit | c2ff857a70752a83e9d19184d140826fbed9f467 (patch) | |
tree | a59a47ead6b6825fdf3b9fe999f87e35c5137fd3 /src/rspamadm/CMakeLists.txt | |
parent | a9dcf6a0b3f49b63be438d4cfefbcd315a14df6f (diff) | |
download | rspamd-c2ff857a70752a83e9d19184d140826fbed9f467.tar.gz rspamd-c2ff857a70752a83e9d19184d140826fbed9f467.zip |
Add detection of libfann
Diffstat (limited to 'src/rspamadm/CMakeLists.txt')
-rw-r--r-- | src/rspamadm/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rspamadm/CMakeLists.txt b/src/rspamadm/CMakeLists.txt index c69bf0cbe..d57325f0e 100644 --- a/src/rspamadm/CMakeLists.txt +++ b/src/rspamadm/CMakeLists.txt @@ -39,6 +39,9 @@ IF (NOT DEBIAN_BUILD) SET_TARGET_PROPERTIES(rspamadm PROPERTIES VERSION ${RSPAMD_VERSION}) ENDIF (NOT DEBIAN_BUILD) +IF (ENABLE_FANN MATCHES "ON") + TARGET_LINK_LIBRARIES(rspamadm fann) +ENDIF () IF (ENABLE_HYPERSCAN MATCHES "ON") TARGET_LINK_LIBRARIES(rspamadm hs) SET_TARGET_PROPERTIES(rspamadm PROPERTIES LINKER_LANGUAGE CXX) |