Add SOVERSION to libs

pull/5/head
Alexey Shabalin 2021-03-19 17:42:23 +03:00
parent 17c6a562b0
commit 37d716973d
1 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,3 @@
cmake_minimum_required(VERSION 2.8)
project(vitastor)
include(GNUInstallDirs)
@ -51,6 +48,7 @@ target_link_libraries(vitastor_blk
${LIBURING_LIBRARIES}
tcmalloc_minimal
)
set_target_properties(vitastor_blk PROPERTIES VERSION ${VERSION_STRING} SOVERSION 0)
# vitastor-osd
add_executable(vitastor-osd
@ -74,6 +72,7 @@ target_link_libraries(vitastor_client
tcmalloc_minimal
${LIBURING_LIBRARIES}
)
set_target_properties(vitastor_client PROPERTIES VERSION ${VERSION_STRING} SOVERSION 0)
# vitastor-nbd
add_executable(vitastor-nbd