Add SOVERSION
This commit is contained in:
@@ -2,4 +2,6 @@ cmake_minimum_required(VERSION 2.8)
|
|||||||
|
|
||||||
project(vitastor)
|
project(vitastor)
|
||||||
|
|
||||||
|
set(VERSION "0.6.2")
|
||||||
|
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ target_link_libraries(vitastor_blk
|
|||||||
# for timerfd_manager
|
# for timerfd_manager
|
||||||
vitastor_common
|
vitastor_common
|
||||||
)
|
)
|
||||||
|
set_target_properties(vitastor_blk PROPERTIES VERSION ${VERSION} SOVERSION 0)
|
||||||
|
|
||||||
# libfio_vitastor_blk.so
|
# libfio_vitastor_blk.so
|
||||||
add_library(fio_vitastor_blk SHARED
|
add_library(fio_vitastor_blk SHARED
|
||||||
@@ -103,6 +104,7 @@ target_link_libraries(vitastor_client
|
|||||||
tcmalloc_minimal
|
tcmalloc_minimal
|
||||||
${LIBURING_LIBRARIES}
|
${LIBURING_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
set_target_properties(vitastor_client PROPERTIES VERSION ${VERSION} SOVERSION 0)
|
||||||
|
|
||||||
# libfio_vitastor.so
|
# libfio_vitastor.so
|
||||||
add_library(fio_vitastor SHARED
|
add_library(fio_vitastor SHARED
|
||||||
|
|||||||
Reference in New Issue
Block a user