
The soname version numbers were missing from all the library targets properties which caused ldconfig to warn about non-symlink libraries being installed.
8 lines
306 B
CMake
8 lines
306 B
CMake
add_library(readwritesplit SHARED readwritesplit.c)
|
|
target_link_libraries(readwritesplit ssl pthread log_manager query_classifier)
|
|
set_target_properties(readwritesplit PROPERTIES VERSION "1.0.2")
|
|
install(TARGETS readwritesplit DESTINATION ${MAXSCALE_LIBDIR})
|
|
if(BUILD_TESTS)
|
|
add_subdirectory(test)
|
|
endif()
|