diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cdb/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/json/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/lua/CMakeLists.txt | 1 |
3 files changed, 3 insertions, 0 deletions
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 |