]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/common: keeping build happy 60728/head
authorMilind Changire <mchangir@redhat.com>
Thu, 14 Nov 2024 03:44:03 +0000 (09:14 +0530)
committerMilind Changire <mchangir@redhat.com>
Thu, 14 Nov 2024 05:06:10 +0000 (10:36 +0530)
Since ceph_pthread_setname() has now been moved from a macro to a
function, we need to reference the common library to link it to.

Signed-off-by: Milind Changire <mchangir@redhat.com>
src/test/common/CMakeLists.txt

index 11e111115d7f9aa8b7e329709d6987506282f9ab..3d21db73b12928120447421572a41ded167a29e1 100644 (file)
@@ -356,6 +356,7 @@ target_link_libraries(unittest_cdc global ceph-common)
 add_ceph_unittest(unittest_cdc)
 
 add_executable(unittest_ceph_timer test_ceph_timer.cc)
+target_link_libraries(unittest_ceph_timer ceph-common)
 add_ceph_unittest(unittest_ceph_timer)
 
 add_executable(unittest_option test_option.cc)