From 85afd5e65a931f73362c8ab95e647be7331046c6 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Thu, 17 Apr 2025 09:34:55 -0400 Subject: [PATCH] test/fs: only add libcephfs as library dependency ceph-common is implied. Signed-off-by: Patrick Donnelly (cherry picked from commit 600584f749ef262b858f599c82f16c7d58c8adcb) (cherry picked from commit 08e97895769c7722f61167fd459f0bf6547ed890) --- src/test/fs/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/test/fs/CMakeLists.txt b/src/test/fs/CMakeLists.txt index 70ff64afdce..36045fe95f8 100644 --- a/src/test/fs/CMakeLists.txt +++ b/src/test/fs/CMakeLists.txt @@ -9,12 +9,16 @@ if(${WITH_CEPHFS}) add_executable(ceph_test_trim_caps test_trim_caps.cc ) - target_link_libraries(ceph_test_trim_caps ceph-common cephfs) + target_link_libraries(ceph_test_trim_caps + cephfs + ) install(TARGETS ceph_test_trim_caps DESTINATION ${CMAKE_INSTALL_BINDIR}) add_executable(ceph_test_ino_release_cb test_ino_release_cb.cc ) - target_link_libraries(ceph_test_ino_release_cb ceph-common cephfs) + target_link_libraries(ceph_test_ino_release_cb + cephfs + ) install(TARGETS ceph_test_ino_release_cb DESTINATION ${CMAKE_INSTALL_BINDIR}) endif(${WITH_CEPHFS}) -- 2.39.5