From 75a8e233a36f1d08f94fc79794c2fecc55a1364f Mon Sep 17 00:00:00 2001 From: Orit Wasserman Date: Mon, 6 Jul 2015 12:01:21 +0200 Subject: [PATCH] Add libradosstriper to cmake Signed-off-by: Orit Wasserman --- src/CMakeLists.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ce8ebfb3ffbc1..faef1fff24a83 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -355,6 +355,13 @@ install(FILES include/rados/librados.h DESTINATION include/rados) install(TARGETS librados DESTINATION lib) +set(libradosstriper_srcs + libradosstriper/libradosstriper.cc + libradosstriper/RadosStriperImpl.cc + libradosstriper/MultiAioCompletionImpl.cc) +add_library(libradosstriper ${libradosstriper_srcs}) +target_link_libraries(libradosstriper librados cls_lock_client) + set(rados_srcs tools/rados/rados.cc tools/RadosDump.cc @@ -362,7 +369,7 @@ set(rados_srcs tools/rados/PoolDump.cc common/obj_bencher.cc) add_executable(rados ${rados_srcs} $) -target_link_libraries(rados librados global ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS}) +target_link_libraries(rados librados global ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS} libradosstriper) set(librados_config_srcs librados-config.cc) -- 2.39.5