From e550b8e7db3fef4ac94bc84f6ff9012643c9c272 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 14 Feb 2019 11:22:07 +0000 Subject: [Minor] Try to fix linking hell --- test/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'test') diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index ee6b074c3..101cf8588 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -19,11 +19,9 @@ 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) -TARGET_LINK_LIBRARIES(rspamd-test ${RSPAMD_REQUIRED_LIBRARIES}) IF(USE_CXX_LINKER) SET_TARGET_PROPERTIES(rspamd-test PROPERTIES LINKER_LANGUAGE CXX) ENDIF() -TARGET_LINK_LIBRARIES(rspamd-test rspamd-actrie) TARGET_LINK_LIBRARIES(rspamd-test rspamd-server) IF(NOT "${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}") -- cgit v1.2.3