summaryrefslogtreecommitdiffstats
path: root/src/tools/CMakeLists.txt
diff options
context:
space:
mode:
authorKefu Chai <kchai@redhat.com>2020-04-17 07:46:21 +0200
committerKefu Chai <kchai@redhat.com>2020-04-17 08:10:55 +0200
commitb823952d245db4967828033003729a643d8e276f (patch)
treee4a1216193f629170135cf73e6e2559a8ae70745 /src/tools/CMakeLists.txt
parentcmake: rename Findfuse.cmake to FindFUSE.cmake (diff)
downloadceph-b823952d245db4967828033003729a643d8e276f.tar.xz
ceph-b823952d245db4967828033003729a643d8e276f.zip
cmake: link against FUSE::FUSE
instead of specifying the include directory and linkage separately Signed-off-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to '')
-rw-r--r--src/tools/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt
index 0f8120a7775..8cccf208dfd 100644
--- a/src/tools/CMakeLists.txt
+++ b/src/tools/CMakeLists.txt
@@ -50,7 +50,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_LIBRARIES})
+ target_link_libraries(ceph-objectstore-tool FUSE::FUSE)
endif(WITH_FUSE)
install(TARGETS ceph-objectstore-tool DESTINATION bin)