aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/kann/CMakeLists.txt
blob: b3a1d547ccc790ced0668fedd653f13838945245 (plain)
1
2
3
4
5
6
7
8
9
10
SET(LIBKANNSRC	kautodiff.c kann.c)

ADD_LIBRARY(rspamd-kann SHARED ${LIBKANNSRC})

IF(WITH_BLAS)
    MESSAGE(STATUS "Use openblas to accelerate kann")
    TARGET_LINK_LIBRARIES(rspamd-kann ${BLAS_REQUIRED_LIBRARIES})
ENDIF(WITH_BLAS)

INSTALL(TARGETS rspamd-kann LIBRARY DESTINATION ${RSPAMD_LIBDIR})