diff options
Diffstat (limited to 'contrib/kann/CMakeLists.txt')
-rw-r--r-- | contrib/kann/CMakeLists.txt | 2 |
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}) |