From: Vsevolod Stakhov Date: Tue, 7 Apr 2015 12:48:59 +0000 (+0100) Subject: Fix linking if tests. X-Git-Tag: 0.9.0~313 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=97f1081511d5e13568aa81415343d84e1b7d7bf8;p=rspamd.git Fix linking if tests. --- diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index d7392683f..89f70cc3d 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -26,6 +26,7 @@ TARGET_LINK_LIBRARIES(rspamd-test rspamd-cdb) TARGET_LINK_LIBRARIES(rspamd-test rspamd-http-parser) TARGET_LINK_LIBRARIES(rspamd-test ${RSPAMD_REQUIRED_LIBRARIES}) TARGET_LINK_LIBRARIES(rspamd-test stemmer) +TARGET_LINK_LIBRARIES(rspamd-test rspamd-actrie) IF(NOT "${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}") # Also add dependencies for convenience