aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2012-06-05 22:09:46 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2012-06-05 22:09:46 +0400
commita44b10c0a88a70921f1eec9ced4b3ef0f0e01b4e (patch)
tree4a46536a66b9919a7b8196b2df04072e4e48e510
parent8a6fa6ab3b3807d525967f08e8178f168237eeda (diff)
downloadrspamd-a44b10c0a88a70921f1eec9ced4b3ef0f0e01b4e.tar.gz
rspamd-a44b10c0a88a70921f1eec9ced4b3ef0f0e01b4e.zip
Version some lonely libraries.
-rw-r--r--lib/CMakeLists.txt2
-rw-r--r--src/cdb/CMakeLists.txt1
-rw-r--r--src/json/CMakeLists.txt1
-rw-r--r--src/lua/CMakeLists.txt1
4 files changed, 5 insertions, 0 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index 09b3dcdd2..1d2b0c473 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -118,6 +118,7 @@ IF(WITH_SQLITE)
ENDIF(WITH_SQLITE)
ADD_LIBRARY(rspamd-server ${LINK_TYPE} ${LIBRSPAMDSERVERSRC})
+SET_TARGET_PROPERTIES(rspamd-server PROPERTIES VERSION ${RSPAMD_VERSION})
SET_TARGET_PROPERTIES(rspamd-server PROPERTIES LINKER_LANGUAGE C COMPILE_FLAGS "-DRSPAMD_LIB")
TARGET_LINK_LIBRARIES(rspamd-server rspamd-lua)
TARGET_LINK_LIBRARIES(rspamd-server rspamd-json)
@@ -144,6 +145,7 @@ INSTALL(TARGETS rspamd-server
# Librspamdmime
ADD_LIBRARY(rspamd-mime ${LINK_TYPE} ${LIBRSPAMDMIMESRC})
+SET_TARGET_PROPERTIES(rspamd-mime PROPERTIES VERSION ${RSPAMD_VERSION})
SET_TARGET_PROPERTIES(rspamd-mime PROPERTIES LINKER_LANGUAGE C)
SET_TARGET_PROPERTIES(rspamd-mime PROPERTIES COMPILE_FLAGS "-DRSPAMD_LIB")
TARGET_LINK_LIBRARIES(rspamd-mime rspamd-server)
diff --git a/src/cdb/CMakeLists.txt b/src/cdb/CMakeLists.txt
index 122ac4540..920345fff 100644
--- a/src/cdb/CMakeLists.txt
+++ b/src/cdb/CMakeLists.txt
@@ -4,6 +4,7 @@ SET(CDBSRC cdb_init.c
cdb_make.c)
ADD_LIBRARY(rspamd-cdb ${LINK_TYPE} ${CDBSRC})
+SET_TARGET_PROPERTIES(rspamd-cdb PROPERTIES VERSION ${RSPAMD_VERSION})
SET_TARGET_PROPERTIES(rspamd-cdb PROPERTIES COMPILE_FLAGS "-DRSPAMD_LIB")
INSTALL(TARGETS rspamd-cdb
LIBRARY DESTINATION ${LIBDIR}
diff --git a/src/json/CMakeLists.txt b/src/json/CMakeLists.txt
index fb3d88785..267fc0ea8 100644
--- a/src/json/CMakeLists.txt
+++ b/src/json/CMakeLists.txt
@@ -7,6 +7,7 @@ SET(JSONSRC dump.c
value.c)
ADD_LIBRARY(rspamd-json ${LINK_TYPE} ${JSONSRC})
+SET_TARGET_PROPERTIES(rspamd-json PROPERTIES VERSION ${RSPAMD_VERSION})
SET_TARGET_PROPERTIES(rspamd-json PROPERTIES COMPILE_FLAGS "-DRSPAMD_LIB")
INSTALL(TARGETS rspamd-json
LIBRARY DESTINATION ${LIBDIR}
diff --git a/src/lua/CMakeLists.txt b/src/lua/CMakeLists.txt
index a37731973..7ebd0de96 100644
--- a/src/lua/CMakeLists.txt
+++ b/src/lua/CMakeLists.txt
@@ -13,6 +13,7 @@ SET(LUASRC lua_common.c
lua_upstream.c)
ADD_LIBRARY(rspamd-lua ${LINK_TYPE} ${LUASRC})
+SET_TARGET_PROPERTIES(rspamd-lua PROPERTIES VERSION ${RSPAMD_VERSION})
TARGET_LINK_LIBRARIES(rspamd-lua ${LUALIB})
SET_TARGET_PROPERTIES(rspamd-lua PROPERTIES COMPILE_FLAGS "-DRSPAMD_LIB")
INSTALL(TARGETS rspamd-lua