aboutsummaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2012-06-05 19:22:57 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2012-06-05 19:22:57 +0400
commit20c329815f2855d7c1356c3bbe26bddca20ac281 (patch)
tree9eede9a52174f7ab6dc4911cd7f86afffb37156f /src/client
parent35cb2b6e2f17a518d0c940985e6e19b41fdedf19 (diff)
downloadrspamd-20c329815f2855d7c1356c3bbe26bddca20ac281.tar.gz
rspamd-20c329815f2855d7c1356c3bbe26bddca20ac281.zip
Fix static build.
As there are too many changes from 0.4.7 mark this version as 0.5.0.
Diffstat (limited to 'src/client')
-rw-r--r--src/client/CMakeLists.txt8
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)