]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/fs/CMakeLists.txt: add ceph-common to ceph_test_trim_caps and ceph_test_ino_rele... 63925/head
authorSamuel Just <sjust@redhat.com>
Fri, 13 Jun 2025 01:31:50 +0000 (01:31 +0000)
committerSamuel Just <sjust@redhat.com>
Fri, 13 Jun 2025 02:37:00 +0000 (02:37 +0000)
Avoids:

FAILED: bin/ceph_test_trim_caps
...
undefined reference to symbol '_ZNSt15basic_streambufIcSt11char_traitsIcEE8overflowEi@@GLIBCXX_3.4'

Fixes: https://tracker.ceph.com/issues/71658
Signed-off-by: Samuel Just <sjust@redhat.com>
src/test/fs/CMakeLists.txt

index 36045fe95f81d053665d2f8fe5623d562cf04299..69716ddeade5e060bf41d05540e74f6a834979b5 100644 (file)
@@ -10,6 +10,7 @@ if(${WITH_CEPHFS})
     test_trim_caps.cc
   )
   target_link_libraries(ceph_test_trim_caps
+      ceph-common
       cephfs
   )
   install(TARGETS ceph_test_trim_caps DESTINATION ${CMAKE_INSTALL_BINDIR})
@@ -18,6 +19,7 @@ if(${WITH_CEPHFS})
     test_ino_release_cb.cc
   )
   target_link_libraries(ceph_test_ino_release_cb
+      ceph-common
       cephfs
   )
   install(TARGETS ceph_test_ino_release_cb DESTINATION ${CMAKE_INSTALL_BINDIR})