mirror of
https://github.com/ceph/ceph
synced 2024-12-17 00:46:05 +00:00
src/tools/CMakeLists.txt: conditionalise the FUSE usage
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
This commit is contained in:
parent
278ea12b12
commit
2f7264e815
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user