diff options
Diffstat (limited to 'src/erasure-code/lrc/CMakeLists.txt')
-rw-r--r-- | src/erasure-code/lrc/CMakeLists.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/erasure-code/lrc/CMakeLists.txt b/src/erasure-code/lrc/CMakeLists.txt new file mode 100644 index 00000000..e7fb8ea0 --- /dev/null +++ b/src/erasure-code/lrc/CMakeLists.txt @@ -0,0 +1,15 @@ +# lrc plugin + +set(lrc_srcs + ErasureCodePluginLrc.cc + ErasureCodeLrc.cc + $<TARGET_OBJECTS:erasure_code_objs> + $<TARGET_OBJECTS:crush_objs> + ${CMAKE_SOURCE_DIR}/src/common/str_map.cc +) + +add_library(ec_lrc SHARED ${lrc_srcs}) +set_target_properties(ec_lrc PROPERTIES + INSTALL_RPATH "") +target_link_libraries(ec_lrc json_spirit) +install(TARGETS ec_lrc DESTINATION ${erasure_plugin_dir}) |