aboutsummaryrefslogtreecommitdiffstats
path: root/test/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-07 11:27:41 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-07 11:27:41 +0000
commit45c5ffb0c0840d7c7cd6489e42708ec79df9ab2e (patch)
tree233ccf03dd25196e1831d6ac91396aaab8f967c5 /test/CMakeLists.txt
parent1c1215868969dc988d522f8858ba9444da8a0997 (diff)
downloadrspamd-45c5ffb0c0840d7c7cd6489e42708ec79df9ab2e.tar.gz
rspamd-45c5ffb0c0840d7c7cd6489e42708ec79df9ab2e.zip
Fix tests
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r--test/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 241565b19..a2096c128 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -28,6 +28,10 @@ TARGET_LINK_LIBRARIES(rspamd-test ${RSPAMD_REQUIRED_LIBRARIES})
IF (ENABLE_SNOWBALL MATCHES "ON")
TARGET_LINK_LIBRARIES(rspamd-test stemmer)
ENDIF()
+IF (ENABLE_HYPERSCAN MATCHES "ON")
+ TARGET_LINK_LIBRARIES(rspamd-test hs)
+ SET_TARGET_PROPERTIES(rspamd-test PROPERTIES LINKER_LANGUAGE CXX)
+ENDIF()
TARGET_LINK_LIBRARIES(rspamd-test rspamd-actrie)
ADD_CUSTOM_TARGET(rspamd-func-test COMMAND