diff options
author | Kefu Chai <kchai@redhat.com> | 2020-04-17 07:46:21 +0200 |
---|---|---|
committer | Kefu Chai <kchai@redhat.com> | 2020-04-17 08:10:55 +0200 |
commit | b823952d245db4967828033003729a643d8e276f (patch) | |
tree | e4a1216193f629170135cf73e6e2559a8ae70745 /src/tools/CMakeLists.txt | |
parent | cmake: rename Findfuse.cmake to FindFUSE.cmake (diff) | |
download | ceph-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.txt | 2 |
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) |