summaryrefslogtreecommitdiffstats
path: root/src/compressor/snappy/CMakeLists.txt
blob: 0bb233d4cde5b0f1e7db5a118c32e11652f34ec4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# snappy

set(snappy_sources
  CompressionPluginSnappy.cc
)

add_library(ceph_snappy SHARED ${snappy_sources})
target_link_libraries(ceph_snappy PRIVATE snappy::snappy)
set_target_properties(ceph_snappy PROPERTIES
  VERSION 2.0.0
  SOVERSION 2
  INSTALL_RPATH "")
install(TARGETS ceph_snappy DESTINATION ${compressor_plugin_dir})