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:
@ -2,19 +2,23 @@ if(BUILD_TESTS)
|
||||
add_subdirectory(test)
|
||||
add_library(testroute SHARED testroute.c)
|
||||
target_link_libraries(testroute log_manager)
|
||||
set_target_properties(testroute PROPERTIES VERSION "1.0.0")
|
||||
install(TARGETS testroute DESTINATION ${MAXSCALE_LIBDIR})
|
||||
endif()
|
||||
|
||||
add_library(readconnroute SHARED readconnroute.c)
|
||||
target_link_libraries(readconnroute log_manager)
|
||||
set_target_properties(readconnroute PROPERTIES VERSION "1.1.0")
|
||||
install(TARGETS readconnroute DESTINATION ${MAXSCALE_LIBDIR})
|
||||
|
||||
add_library(debugcli SHARED debugcli.c debugcmd.c)
|
||||
target_link_libraries(debugcli log_manager)
|
||||
set_target_properties(debugcli PROPERTIES VERSION "1.1.1")
|
||||
install(TARGETS debugcli DESTINATION ${MAXSCALE_LIBDIR})
|
||||
|
||||
add_library(cli SHARED cli.c debugcmd.c)
|
||||
target_link_libraries(cli log_manager)
|
||||
set_target_properties(cli PROPERTIES VERSION "1.0.0")
|
||||
install(TARGETS cli DESTINATION ${MAXSCALE_LIBDIR})
|
||||
|
||||
add_subdirectory(readwritesplit)
|
||||
|
||||
Reference in New Issue
Block a user