aboutsummaryrefslogtreecommitdiffstats
path: root/utils/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-03-15 17:40:39 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-03-15 17:40:39 +0000
commitcddd684078c732870fccc086d221c1ac45d8732c (patch)
treecef5c823c8f248670f668a1f4c25c01e72de6b46 /utils/CMakeLists.txt
parent747ae55cb67a3951a19d4ed7ea13f9efc4ce74ce (diff)
downloadrspamd-cddd684078c732870fccc086d221c1ac45d8732c.tar.gz
rspamd-cddd684078c732870fccc086d221c1ac45d8732c.zip
[Feature] Add support for regexp maps
Diffstat (limited to 'utils/CMakeLists.txt')
-rw-r--r--utils/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt
index f9eefb4f0..672325924 100644
--- a/utils/CMakeLists.txt
+++ b/utils/CMakeLists.txt
@@ -13,6 +13,11 @@ TARGET_LINK_LIBRARIES(rspamd-http-bench rspamd-server)
TARGET_LINK_LIBRARIES(rspamd-http-bench rspamd-http-parser)
TARGET_LINK_LIBRARIES(rspamd-http-bench ${RSPAMD_REQUIRED_LIBRARIES})
+IF (ENABLE_HYPERSCAN MATCHES "ON")
+ SET_TARGET_PROPERTIES(rspamd-http-bench PROPERTIES LINKER_LANGUAGE CXX)
+ SET_TARGET_PROPERTIES(rspamd-http-server PROPERTIES LINKER_LANGUAGE CXX)
+ENDIF()
+
# Redirector
IF (ENABLE_REDIRECTOR MATCHES "ON")
CONFIGURE_FILE(redirector.pl.in redirector.pl @ONLY)