aboutsummaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-07 17:24:43 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-07 17:24:43 +0000
commit92ab6bdb44e6c4fe23a782f0a0f7c98a97aaf6e2 (patch)
tree46b7457b539da6fc3de8d684d517828dff582eaf /src/CMakeLists.txt
parent813685c8e0fa11bb1458823d396079c9c3470c7a (diff)
downloadrspamd-92ab6bdb44e6c4fe23a782f0a0f7c98a97aaf6e2.tar.gz
rspamd-92ab6bdb44e6c4fe23a782f0a0f7c98a97aaf6e2.zip
Add hyperscan helper worker
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 acc91b673..fc85428ca 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -94,6 +94,10 @@ SET(PLUGINSSRC plugins/surbl.c
SET(MODULES_LIST surbl regexp chartable fuzzy_check spf dkim)
SET(WORKERS_LIST normal controller smtp_proxy fuzzy lua http_proxy)
+IF (ENABLE_HYPERSCAN MATCHES "ON")
+ LIST(APPEND WORKERS_LIST "hs_helper")
+ LIST(APPEND RSPAMDSRC "hs_helper.c")
+ENDIF()
AddModules(MODULES_LIST WORKERS_LIST)
LIST(LENGTH PLUGINSSRC RSPAMD_MODULES_NUM)