From 2c6dd9f11e72ee79ce499573dc03e21a7d6ed23e Mon Sep 17 00:00:00 2001 From: runsisi Date: Tue, 16 Jan 2018 18:32:53 +0800 Subject: [PATCH] cmake: link libfuse using FUSE_LIBRARIES instead of linking with -lfuse directly Signed-off-by: runsisi --- src/tools/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt index 6e30ed2e6d9..2d964d58f36 100644 --- a/src/tools/CMakeLists.txt +++ b/src/tools/CMakeLists.txt @@ -43,7 +43,7 @@ add_executable(ceph-objectstore-tool RadosDump.cc) target_link_libraries(ceph-objectstore-tool osd os global Boost::program_options ${CMAKE_DL_LIBS}) if(WITH_FUSE) - target_link_libraries(ceph-objectstore-tool fuse) + target_link_libraries(ceph-objectstore-tool ${FUSE_LIBRARIES}) endif(WITH_FUSE) install(TARGETS ceph-objectstore-tool DESTINATION bin) -- 2.39.5