summaryrefslogtreecommitdiffstats
path: root/src/erasure-code/clay/CMakeLists.txt
blob: c5af1e22698e51d9e76440079eedc244a9d125b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# clay plugin

set(clay_srcs
  ErasureCodePluginClay.cc
  ErasureCodeClay.cc
  $<TARGET_OBJECTS:erasure_code_objs>
  $<TARGET_OBJECTS:crush_objs>
  ${CMAKE_SOURCE_DIR}/src/common/str_map.cc
)

add_library(ec_clay SHARED ${clay_srcs})
set_target_properties(ec_clay PROPERTIES
  INSTALL_RPATH "")
install(TARGETS ec_clay DESTINATION ${erasure_plugin_dir})