summaryrefslogtreecommitdiffstats
path: root/test/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-03-31 12:49:34 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-03-31 13:29:45 +0100
commitd172dc08141734fbb07d8516c726435d48141dc8 (patch)
tree6cbb62a02efac99f042191990e457c19b534f46d /test/CMakeLists.txt
parent9d38464b8c74448d6d6fd0d69a7c7bddd26d317f (diff)
downloadrspamd-d172dc08141734fbb07d8516c726435d48141dc8.tar.gz
rspamd-d172dc08141734fbb07d8516c726435d48141dc8.zip
[Minor] Some fixes for static build
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r--test/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index d4feffcc0..c6e7108b7 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -37,6 +37,8 @@ IF(ENABLE_HIREDIS MATCHES "ON")
ENDIF()
IF (ENABLE_HYPERSCAN MATCHES "ON")
TARGET_LINK_LIBRARIES(rspamd-test hs)
+ENDIF()
+IF(USE_CXX_LINKER)
SET_TARGET_PROPERTIES(rspamd-test PROPERTIES LINKER_LANGUAGE CXX)
ENDIF()
TARGET_LINK_LIBRARIES(rspamd-test rspamd-actrie)