aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-11 16:04:50 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-11 16:04:50 +0000
commit4fc834d623c76da7f51a70b2ee6055f912671330 (patch)
treefe5e804cd0696e1ef5e9a2aad404162969e5a0a0 /test
parent361fb11df8192802c73561c72e69adf5831d042a (diff)
downloadrspamd-4fc834d623c76da7f51a70b2ee6055f912671330.tar.gz
rspamd-4fc834d623c76da7f51a70b2ee6055f912671330.zip
Embed hiredis as it is broken literally everywhere
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index a2096c128..f21e604f7 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -28,6 +28,9 @@ TARGET_LINK_LIBRARIES(rspamd-test ${RSPAMD_REQUIRED_LIBRARIES})
IF (ENABLE_SNOWBALL MATCHES "ON")
TARGET_LINK_LIBRARIES(rspamd-test stemmer)
ENDIF()
+IF(ENABLE_HIREDIS MATCHES "ON")
+ TARGET_LINK_LIBRARIES(rspamd-test rspamd-hiredis)
+ENDIF()
IF (ENABLE_HYPERSCAN MATCHES "ON")
TARGET_LINK_LIBRARIES(rspamd-test hs)
SET_TARGET_PROPERTIES(rspamd-test PROPERTIES LINKER_LANGUAGE CXX)