]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test: link timer test against libceph-common
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Wed, 19 Apr 2023 13:11:36 +0000 (13:11 +0000)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Wed, 30 Aug 2023 12:59:00 +0000 (12:59 +0000)
This test currently failes to build for Windows using llvm
due to unresolved symbols.

We'll address the issue by explicitly specifying the ceph-common
dependency.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
src/test/common/CMakeLists.txt

index 200fd3990b9300e912a989e1f32d061cc43de268..c68d8639f4c55c9af0d3d923c6356f1a9de13aab 100644 (file)
@@ -372,6 +372,7 @@ add_ceph_unittest(unittest_cdc)
 
 add_executable(unittest_ceph_timer test_ceph_timer.cc)
 add_ceph_unittest(unittest_ceph_timer)
+target_link_libraries(unittest_ceph_timer ceph-common)
 
 add_executable(unittest_option test_option.cc)
 target_link_libraries(unittest_option ceph-common GTest::Main)