diff options
-rw-r--r-- | contrib/aho-corasick/CMakeLists.txt | 12 | ||||
m--------- | contrib/snowball | 0 | ||||
m--------- | doc/doxydown | 0 |
3 files changed, 9 insertions, 3 deletions
diff --git a/contrib/aho-corasick/CMakeLists.txt b/contrib/aho-corasick/CMakeLists.txt index d185245cb..4b1a75773 100644 --- a/contrib/aho-corasick/CMakeLists.txt +++ b/contrib/aho-corasick/CMakeLists.txt @@ -3,6 +3,12 @@ SET(AHOCORASICSRC acism_create.c if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU") SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3") endif () -ADD_LIBRARY(rspamd-actrie SHARED ${AHOCORASICSRC}) -INSTALL(TARGETS rspamd-actrie - LIBRARY DESTINATION ${RSPAMD_LIBDIR}) + +IF(NOT GPL_RSPAMD_BINARY) + ADD_LIBRARY(rspamd-actrie SHARED ${AHOCORASICSRC}) + + INSTALL(TARGETS rspamd-actrie + LIBRARY DESTINATION ${RSPAMD_LIBDIR}) +ELSE() + ADD_LIBRARY(rspamd-actrie STATIC ${AHOCORASICSRC}) +ENDIF() diff --git a/contrib/snowball b/contrib/snowball -Subproject 4bc9f365c4b674d0dd0cfd14c314a866f00e088 +Subproject c381f4fa958b59d41b0c596f0cbfe3ed48831e9 diff --git a/doc/doxydown b/doc/doxydown -Subproject 54377c45bbdfa19df8c006f3b7377d222da5116 +Subproject 6c1f79c4294ef66a55bfc75845f3fdf3e2e1c32 |