From: runsisi Date: Tue, 16 Jan 2018 10:32:53 +0000 (+0800) Subject: cmake: link libfuse using FUSE_LIBRARIES X-Git-Tag: 3.2-0~119^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2c6dd9f11e72ee79ce499573dc03e21a7d6ed23e;p=ceph-ci.git cmake: link libfuse using FUSE_LIBRARIES instead of linking with -lfuse directly Signed-off-by: runsisi --- 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)