From: Willem Jan Withagen Date: Thu, 21 Jul 2016 07:59:08 +0000 (+0200) Subject: src/tools/CMakeLists.txt: conditionalise the FUSE usage X-Git-Tag: v11.0.1~689^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2f7264e81507daec64103b939b6786952b348ed4;p=ceph-ci.git src/tools/CMakeLists.txt: conditionalise the FUSE usage Signed-off-by: Willem Jan Withagen --- diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt index d57c453d241..d8f6b5964f3 100644 --- a/src/tools/CMakeLists.txt +++ b/src/tools/CMakeLists.txt @@ -34,7 +34,10 @@ install(PROGRAMS add_executable(ceph-objectstore-tool ceph_objectstore_tool.cc RadosDump.cc) -target_link_libraries(ceph-objectstore-tool osd os global ${Boost_PROGRAM_OPTIONS_LIBRARY} ${CMAKE_DL_LIBS} fuse) +target_link_libraries(ceph-objectstore-tool osd os global ${Boost_PROGRAM_OPTIONS_LIBRARY} ${CMAKE_DL_LIBS}) +if(WITH_FUSE) + target_link_libraries(ceph-objectstore-tool fuse) +endif(WITH_FUSE) install(TARGETS ceph-objectstore-tool DESTINATION bin) add_executable(ceph-client-debug ceph-client-debug.cc)