diff --git a/CMakeLists.txt b/CMakeLists.txt index 83014777..1bbdc6ea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,4 +2,6 @@ cmake_minimum_required(VERSION 2.8) project(vitastor) +set(VERSION "0.6.2") + add_subdirectory(src) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5b0a4ffe..8531a144 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -55,6 +55,7 @@ target_link_libraries(vitastor_blk # for timerfd_manager vitastor_common ) +set_target_properties(vitastor_blk PROPERTIES VERSION ${VERSION} SOVERSION 0) # libfio_vitastor_blk.so add_library(fio_vitastor_blk SHARED @@ -103,6 +104,7 @@ target_link_libraries(vitastor_client tcmalloc_minimal ${LIBURING_LIBRARIES} ) +set_target_properties(vitastor_client PROPERTIES VERSION ${VERSION} SOVERSION 0) # libfio_vitastor.so add_library(fio_vitastor SHARED