From 29961914a439453048ee27ffe9145bd2224b487d Mon Sep 17 00:00:00 2001 From: Jeff Layton Date: Mon, 24 Oct 2016 10:03:01 -0400 Subject: [PATCH] libcephfs: move to SOVERSION 2.0.0 The new libcephfs API is incompatible with the old. Move to SOVERSION 2.0.0 so that any programs built against the old headers will fail at load time. Signed-off-by: Jeff Layton --- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 739d1485178..c3685c20ea4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -771,8 +771,8 @@ if(WITH_LIBCEPHFS) endforeach() set_target_properties(cephfs PROPERTIES OUTPUT_NAME cephfs - VERSION 1.0.0 - SOVERSION 1 + VERSION 2.0.0 + SOVERSION 2 LINK_FLAGS ${CEPHFS_LINK_FLAGS}) endif(ENABLE_SHARED) install(TARGETS cephfs DESTINATION ${CMAKE_INSTALL_LIBDIR}) -- 2.47.3