diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/CMakeLists.txt | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/client/CMakeLists.txt b/src/client/CMakeLists.txt index fe02d5e1b..0950fb49d 100644 --- a/src/client/CMakeLists.txt +++ b/src/client/CMakeLists.txt @@ -3,12 +3,8 @@ SET(RSPAMCSRC rspamc.c) ADD_EXECUTABLE(rspamc ${RSPAMCSRC}) SET_TARGET_PROPERTIES(rspamc PROPERTIES COMPILE_FLAGS "-I${CMAKE_SOURCE_DIR}/lib") -TARGET_LINK_LIBRARIES(rspamc rspamd-util) -IF(ENABLE_STATIC MATCHES "ON") - TARGET_LINK_LIBRARIES(rspamc rspamdclient_static) -ELSE(ENABLE_STATIC MATCHES "ON") - TARGET_LINK_LIBRARIES(rspamc rspamdclient) -ENDIF(ENABLE_STATIC MATCHES "ON") +TARGET_LINK_LIBRARIES(rspamc rspamd-server) +TARGET_LINK_LIBRARIES(rspamc rspamdclient) TARGET_LINK_LIBRARIES(rspamc pcre) IF(GLIB_COMPAT) TARGET_LINK_LIBRARIES(rspamc glibadditions) |