
The soname version numbers were missing from all the library targets properties which caused ldconfig to warn about non-symlink libraries being installed.
7 lines
252 B
CMake
7 lines
252 B
CMake
add_library(query_classifier SHARED query_classifier.cc)
|
|
set_target_properties(query_classifier PROPERTIES VERSION "1.0.0")
|
|
install(TARGETS query_classifier COMPONENT lib DESTINATION ${MAXSCALE_LIBDIR})
|
|
if(BUILD_TESTS)
|
|
add_subdirectory(test)
|
|
endif()
|