aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/aho-corasick/CMakeLists.txt1
-rw-r--r--contrib/kann/CMakeLists.txt2
-rw-r--r--contrib/libev/CMakeLists.txt1
3 files changed, 4 insertions, 0 deletions
diff --git a/contrib/aho-corasick/CMakeLists.txt b/contrib/aho-corasick/CMakeLists.txt
index 2c431b5b8..f47dbedcd 100644
--- a/contrib/aho-corasick/CMakeLists.txt
+++ b/contrib/aho-corasick/CMakeLists.txt
@@ -4,6 +4,7 @@ SET(AHOCORASICSRC acism_create.c
IF(NOT GPL_RSPAMD_BINARY)
ADD_LIBRARY(rspamd-actrie SHARED ${AHOCORASICSRC})
target_link_libraries(rspamd-actrie glib-2.0)
+ target_link_libraries(rspamd-actrie "${RSPAMD_REQUIRED_LIBRARIES}")
INSTALL(TARGETS rspamd-actrie
LIBRARY DESTINATION ${RSPAMD_LIBDIR})
diff --git a/contrib/kann/CMakeLists.txt b/contrib/kann/CMakeLists.txt
index ba16d5e9f..5f1b17a3f 100644
--- a/contrib/kann/CMakeLists.txt
+++ b/contrib/kann/CMakeLists.txt
@@ -6,6 +6,8 @@ ELSE()
ADD_LIBRARY(rspamd-kann SHARED ${LIBKANNSRC})
ENDIF()
+target_link_libraries(rspamd-kann "${RSPAMD_REQUIRED_LIBRARIES}")
+target_link_libraries(rspamd-kann "m")
IF(WITH_BLAS)
MESSAGE(STATUS "Use openblas to accelerate kann")
TARGET_LINK_LIBRARIES(rspamd-kann ${BLAS_REQUIRED_LIBRARIES})
diff --git a/contrib/libev/CMakeLists.txt b/contrib/libev/CMakeLists.txt
index 03d9df254..b2d33fe49 100644
--- a/contrib/libev/CMakeLists.txt
+++ b/contrib/libev/CMakeLists.txt
@@ -63,6 +63,7 @@ IF(ENABLE_STATIC MATCHES "ON")
ELSE()
ADD_LIBRARY(rspamd-ev SHARED ${LIBEVSRC})
ENDIF()
+target_link_libraries(rspamd-ev "${RSPAMD_REQUIRED_LIBRARIES}")
include_directories("${CMAKE_CURRENT_BINARY_DIR}")
ADD_DEFINITIONS("-DEV_CONFIG_H=\"libev-config.h\""
-DEV_MULTIPLICITY=1