From 0a5641d196e6d98faec895d60db84c73cc3a4ff0 Mon Sep 17 00:00:00 2001 From: Lucian Petrut Date: Wed, 19 Apr 2023 13:11:36 +0000 Subject: [PATCH] test: link timer test against libceph-common 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 --- src/test/common/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/common/CMakeLists.txt b/src/test/common/CMakeLists.txt index 200fd3990b930..c68d8639f4c55 100644 --- a/src/test/common/CMakeLists.txt +++ b/src/test/common/CMakeLists.txt @@ -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) -- 2.39.5