diff --git a/src/compressor/zstd/CMakeLists.txt b/src/compressor/zstd/CMakeLists.txt index cb53f803c06..a6aaa738a9c 100644 --- a/src/compressor/zstd/CMakeLists.txt +++ b/src/compressor/zstd/CMakeLists.txt @@ -35,7 +35,10 @@ set(zstd_sources add_library(ceph_zstd SHARED ${zstd_sources}) add_dependencies(ceph_zstd ${CMAKE_SOURCE_DIR}/src/ceph_ver.h) target_link_libraries(ceph_zstd zstd) -set_target_properties(ceph_zstd PROPERTIES VERSION 2.0.0 SOVERSION 2) +set_target_properties(ceph_zstd PROPERTIES + VERSION 2.0.0 + SOVERSION 2 + INSTALL_RPATH "") install(TARGETS ceph_zstd DESTINATION ${compressor_plugin_dir}) if(WITH_EMBEDDED)