diff options
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r-- | test/CMakeLists.txt | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 226db80ef..822466779 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -19,25 +19,7 @@ ADD_EXECUTABLE(rspamd-test EXCLUDE_FROM_ALL ${TESTSRC}) SET_TARGET_PROPERTIES(rspamd-test PROPERTIES LINKER_LANGUAGE C) SET_TARGET_PROPERTIES(rspamd-test PROPERTIES COMPILE_FLAGS "-DRSPAMD_TEST") ADD_DEPENDENCIES(rspamd-test rspamd-server) -IF(NOT CMAKE_SYSTEM_NAME STREQUAL "Darwin") - TARGET_LINK_LIBRARIES(rspamd-test "-Wl,-whole-archive ${CMAKE_BINARY_DIR}/src/librspamd-server.a -Wl,-no-whole-archive") -ELSE(NOT CMAKE_SYSTEM_NAME STREQUAL "Darwin") - TARGET_LINK_LIBRARIES(rspamd-test "-Wl,-force_load ${CMAKE_BINARY_DIR}/src/librspamd-server.a") -ENDIF(NOT CMAKE_SYSTEM_NAME STREQUAL "Darwin") -TARGET_LINK_LIBRARIES(rspamd-test rspamd-cdb) -TARGET_LINK_LIBRARIES(rspamd-test lcbtrie) -TARGET_LINK_LIBRARIES(rspamd-test rspamd-http-parser) -TARGET_LINK_LIBRARIES(rspamd-test rspamd-lpeg) -TARGET_LINK_LIBRARIES(rspamd-test rspamd-linenoise) -TARGET_LINK_LIBRARIES(rspamd-test rspamd-zstd) TARGET_LINK_LIBRARIES(rspamd-test ${RSPAMD_REQUIRED_LIBRARIES}) -IF (ENABLE_SNOWBALL MATCHES "ON") - TARGET_LINK_LIBRARIES(rspamd-test stemmer) -ENDIF() -TARGET_LINK_LIBRARIES(rspamd-test rspamd-hiredis) -IF (ENABLE_HYPERSCAN MATCHES "ON") - TARGET_LINK_LIBRARIES(rspamd-test hs) -ENDIF() IF(USE_CXX_LINKER) SET_TARGET_PROPERTIES(rspamd-test PROPERTIES LINKER_LANGUAGE CXX) ENDIF() |