]> git.proxmox.com Git - ceph.git/blob - ceph/src/compressor/lz4/CMakeLists.txt
update sources to 12.2.8
[ceph.git] / ceph / src / compressor / lz4 / CMakeLists.txt
1 # lz4
2
3 set(lz4_sources
4 CompressionPluginLZ4.cc
5 )
6
7 add_library(ceph_lz4 SHARED ${lz4_sources})
8 add_dependencies(ceph_lz4 ${CMAKE_SOURCE_DIR}/src/ceph_ver.h)
9 target_link_libraries(ceph_lz4 ${LZ4_LIBRARY})
10 set_target_properties(ceph_lz4 PROPERTIES
11 VERSION 2.0.0
12 SOVERSION 2
13 INSTALL_RPATH "")
14 install(TARGETS ceph_lz4 DESTINATION ${compressor_plugin_dir})