diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-23 11:51:53 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-23 11:51:53 +0100 |
commit | c5e769ec0ce3d7347276809d79d7dcb81aae8324 (patch) | |
tree | aa3f55253232d2a2de9faa9a8370e1c1b956334a /src/rspamadm | |
parent | 00f687383ae2ea5f3e39840989541e4704887f01 (diff) | |
download | rspamd-c5e769ec0ce3d7347276809d79d7dcb81aae8324.tar.gz rspamd-c5e769ec0ce3d7347276809d79d7dcb81aae8324.zip |
Allow conditional build of snowball.
Diffstat (limited to 'src/rspamadm')
-rw-r--r-- | src/rspamadm/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/rspamadm/CMakeLists.txt b/src/rspamadm/CMakeLists.txt index 20cf3b3a0..7d693c388 100644 --- a/src/rspamadm/CMakeLists.txt +++ b/src/rspamadm/CMakeLists.txt @@ -11,7 +11,10 @@ SET(RSPAMADMSRC rspamadm.c commands.c pw.c keypair.c configtest.c ADD_EXECUTABLE(rspamadm ${RSPAMADMSRC}) TARGET_LINK_LIBRARIES(rspamadm rspamd-server) TARGET_LINK_LIBRARIES(rspamadm ${RSPAMD_REQUIRED_LIBRARIES}) -TARGET_LINK_LIBRARIES(rspamadm stemmer) + +IF (ENABLE_SNOWBALL MATCHES "ON") + TARGET_LINK_LIBRARIES(rspamadm stemmer) +ENDIF() TARGET_LINK_LIBRARIES(rspamadm rspamd-actrie) IF (NOT DEBIAN_BUILD) |