]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
test/fs: only add libcephfs as library dependency
authorPatrick Donnelly <pdonnell@ibm.com>
Thu, 17 Apr 2025 13:34:55 +0000 (09:34 -0400)
committerYuri Weinstein <yweinste@redhat.com>
Wed, 16 Jul 2025 22:45:55 +0000 (22:45 +0000)
ceph-common is implied.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 600584f749ef262b858f599c82f16c7d58c8adcb)
(cherry picked from commit 08e97895769c7722f61167fd459f0bf6547ed890)

src/test/fs/CMakeLists.txt

index 70ff64afdce7f944e86dcd53f394cc5c0a0cb3ee..36045fe95f81d053665d2f8fe5623d562cf04299 100644 (file)
@@ -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})