Fix to MXS-363: Added soname versions to libraries

The soname version numbers were missing from all the library targets
properties which caused ldconfig to warn about non-symlink libraries
being installed.
This commit is contained in:
Markus Makela
2015-11-30 09:40:37 +02:00
parent dcf81db395
commit a829b38873
11 changed files with 36 additions and 8 deletions

View File

@ -3,6 +3,7 @@ if(LOG_DEBUG)
endif()
add_library(log_manager SHARED log_manager.cc)
target_link_libraries(log_manager pthread aio stdc++)
set_target_properties(log_manager PROPERTIES VERSION "1.0.0")
install(TARGETS log_manager DESTINATION ${MAXSCALE_LIBDIR})
if(BUILD_TESTS)
add_subdirectory(test)