From: Kefu Chai Date: Sat, 28 May 2016 08:18:31 +0000 (+0800) Subject: cmake: compile and install ceph-bluefs-tool X-Git-Tag: v11.0.0~358^2~14 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f67ebef59711b3fe0fc234aaca1016703aaf7ad4;p=ceph.git cmake: compile and install ceph-bluefs-tool Signed-off-by: Kefu Chai --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 69e6f075dd1f..12cc479aadc1 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -854,6 +854,14 @@ if(WITH_LTTNG) add_dependencies(os objectstore-tp) endif() target_link_libraries(os kv) +if(HAVE_LIBAIO) + add_executable(ceph-bluefs-tool + os/bluestore/bluefs_tool.cc) + target_link_libraries(ceph-bluefs-tool + os global) + install(TARGETS ceph-bluefs-tool + DESTINATION bin) +endif() set(cls_references_files objclass/class_api.cc) add_library(cls_references_objs OBJECT ${cls_references_files})