aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/kann
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-03-17 10:01:12 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-03-17 10:08:07 +0000
commit4f917493bfea63471dc7378cac7916ed19564710 (patch)
treed861ce62ea4ebaef513f8e529a1e715596470e4d /contrib/kann
parent5be533976606039dc20d77ed01c1d42732cb2d94 (diff)
downloadrspamd-4f917493bfea63471dc7378cac7916ed19564710.tar.gz
rspamd-4f917493bfea63471dc7378cac7916ed19564710.zip
[Minor] Try to fix link issues
Diffstat (limited to 'contrib/kann')
-rw-r--r--contrib/kann/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
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})