]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cmake: link libfuse using FUSE_LIBRARIES
authorrunsisi <runsisi@zte.com.cn>
Tue, 16 Jan 2018 10:32:53 +0000 (18:32 +0800)
committerrunsisi <runsisi@zte.com.cn>
Tue, 16 Jan 2018 11:42:17 +0000 (19:42 +0800)
instead of linking with -lfuse directly

Signed-off-by: runsisi <runsisi@zte.com.cn>
src/tools/CMakeLists.txt

index 6e30ed2e6d973cc71e57b357bf74382a1005ebf9..2d964d58f36e220ef83673201725aa9badad3579 100644 (file)
@@ -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)