]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
tools/ceph-dencoder/CMakeLists.txt: add missing dependencies to denc-mod-common
authorMax Kellermann <max.kellermann@ionos.com>
Wed, 30 Jul 2025 05:44:34 +0000 (07:44 +0200)
committerMax Kellermann <max.kellermann@ionos.com>
Tue, 5 Aug 2025 08:28:00 +0000 (10:28 +0200)
This library uses symbols from ceph-common, uuid.cc and utime.cc but
does not link them.  This causes runtime linker errors (but usually
doesn't because these other libraries just happen to be linked
already).

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
src/tools/ceph-dencoder/CMakeLists.txt

index 3c8087413cb65cfea17de51ff4560eba9cdc5f1d..1cd85189a6a80d59fade36aaafe31f81ce95b7e0 100644 (file)
@@ -38,8 +38,11 @@ function(add_denc_mod name)
 endfunction()
 
 add_denc_mod(denc-mod-common
+  ../../include/uuid.cc
+  ../../include/utime.cc
   common_types.cc)
 target_link_libraries(denc-mod-common
+  ceph-common
   journal
   cls_cas_internal
   cls_lock_client