]> source.dussan.org Git - rspamd.git/commitdiff
Version some lonely libraries.
authorVsevolod Stakhov <vsevolod@rambler-co.ru>
Tue, 5 Jun 2012 18:09:46 +0000 (22:09 +0400)
committerVsevolod Stakhov <vsevolod@rambler-co.ru>
Tue, 5 Jun 2012 18:09:46 +0000 (22:09 +0400)
lib/CMakeLists.txt
src/cdb/CMakeLists.txt
src/json/CMakeLists.txt
src/lua/CMakeLists.txt

index 09b3dcdd2b674d8eca1f62a1b85f51f17b66f59d..1d2b0c473b78be248d6e9a5c37f15c30362e21e6 100644 (file)
@@ -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)
index 122ac45409d2ea7f39c96a5a6ac26339aec1743e..920345fff5955cecd443476423d487e096ee4430 100644 (file)
@@ -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} 
index fb3d88785eed64adb51d40515e65a5f7eca5ce31..267fc0ea81a596ef33426afb00590137d9b93b1c 100644 (file)
@@ -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} 
index a37731973805cd3be4f1729fe682d46a1aee15ce..7ebd0de96856e1e5c8fe335a533eb2f38d0b784f 100644 (file)
@@ -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