From: Willem Jan Withagen Date: Sat, 3 Sep 2016 14:28:10 +0000 (+0200) Subject: src/tools/CMakeLists.txt: conditionaly build ceph-client-debug X-Git-Tag: v11.0.1~305^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8ecd55ca6337814fe49624446125e604fff06b42;p=ceph.git src/tools/CMakeLists.txt: conditionaly build ceph-client-debug - Honor WITH_LIBCEPHFS Signed-off-by: Willem Jan Withagen --- diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt index 360330b83c6..d5a65ca6822 100644 --- a/src/tools/CMakeLists.txt +++ b/src/tools/CMakeLists.txt @@ -40,9 +40,11 @@ if(WITH_FUSE) endif(WITH_FUSE) install(TARGETS ceph-objectstore-tool DESTINATION bin) -add_executable(ceph-client-debug ceph-client-debug.cc) -target_link_libraries(ceph-client-debug cephfs global client) -install(TARGETS ceph-client-debug DESTINATION bin) +if(WITH_LIBCEPHFS) + add_executable(ceph-client-debug ceph-client-debug.cc) + target_link_libraries(ceph-client-debug cephfs global client) + install(TARGETS ceph-client-debug DESTINATION bin) +endif(WITH_LIBCEPHFS) add_executable(ceph-kvstore-tool ceph_kvstore_tool.cc) target_link_libraries(ceph-kvstore-tool os global)