aboutsummaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-02-02 16:16:51 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-02-02 16:16:51 +0300
commite7032003419b8575e211fb9bb4740c1d37736f51 (patch)
treea44830a57a3a2f1ec5347227fd44d60faa419a56 /src/client
parent295619fdc102e5528a5370a0dcd58bef9c7dc371 (diff)
downloadrspamd-e7032003419b8575e211fb9bb4740c1d37736f51.tar.gz
rspamd-e7032003419b8575e211fb9bb4740c1d37736f51.zip
Update build and install system.
Diffstat (limited to 'src/client')
-rw-r--r--src/client/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/CMakeLists.txt b/src/client/CMakeLists.txt
index 186b458f3..dee29b667 100644
--- a/src/client/CMakeLists.txt
+++ b/src/client/CMakeLists.txt
@@ -6,3 +6,6 @@ SET_TARGET_PROPERTIES(rspamc PROPERTIES COMPILE_FLAGS "-I.. -I../../lib")
TARGET_LINK_LIBRARIES(rspamc rspamdclient)
TARGET_LINK_LIBRARIES(rspamc ${CMAKE_REQUIRED_LIBRARIES})
TARGET_LINK_LIBRARIES(rspamc ${GLIB2_LIBRARIES})
+SET_TARGET_PROPERTIES(rspamc PROPERTIES VERSION ${RSPAMD_VERSION})
+
+INSTALL(TARGETS rspamc RUNTIME DESTINATION bin)