]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Fix tools/tests link with bluestore disabled
authorDaniel Gryniewicz <dang@fprintf.net>
Mon, 2 Feb 2026 18:53:16 +0000 (13:53 -0500)
committerDaniel Gryniewicz <dang@fprintf.net>
Mon, 6 Jul 2026 15:19:42 +0000 (11:19 -0400)
Signed-off-by: Daniel Gryniewicz <dang@fprintf.net>
src/test/ObjectMap/CMakeLists.txt
src/tools/CMakeLists.txt

index 03104531971ec629a5fae9e7bb5c471f71b47b72..8c97094afd96b622b958c14ae4380b38644cff39 100644 (file)
@@ -17,6 +17,7 @@ add_executable(ceph_test_keyvaluedb_atomicity
   test_keyvaluedb_atomicity.cc
   )
 target_link_libraries(ceph_test_keyvaluedb_atomicity
+  kv
   os
   ceph-common
   ${UNITTEST_LIBS}
@@ -31,6 +32,7 @@ add_executable(ceph_test_keyvaluedb_iterators
   KeyValueDBMemory.cc
   )
 target_link_libraries(ceph_test_keyvaluedb_iterators
+  kv
   os
   ceph-common
   ${UNITTEST_LIBS}
index 668bf9777f02952e055673a10ef5073ea11eb4c7..58c39ac8252614f69d253c984f5336d02f983fbb 100644 (file)
@@ -45,14 +45,14 @@ endif(WITH_TESTS)
 add_executable(ceph-monstore-tool
   ceph_monstore_tool.cc
   ../mgr/mgr_commands.cc)
-target_link_libraries(ceph-monstore-tool os global Boost::program_options)
+target_link_libraries(ceph-monstore-tool kv os global Boost::program_options)
 install(TARGETS ceph-monstore-tool DESTINATION bin)
 
 add_executable(ceph-objectstore-tool
   ceph_objectstore_tool.cc
   rebuild_mondb.cc
   RadosDump.cc)
-target_link_libraries(ceph-objectstore-tool osd os global Boost::program_options ${CMAKE_DL_LIBS})
+target_link_libraries(ceph-objectstore-tool osd kv os global Boost::program_options ${CMAKE_DL_LIBS})
 if(WITH_FUSE)
   target_link_libraries(ceph-objectstore-tool FUSE::FUSE)
 endif(WITH_FUSE)
@@ -70,7 +70,7 @@ add_executable(ceph-kvstore-tool
   kvstore_tool.cc
   ceph_kvstore_tool.cc)
 target_link_libraries(ceph-kvstore-tool
-  legacy-option-headers
+  legacy-option-headers kv
   os global)
 install(TARGETS ceph-kvstore-tool DESTINATION bin)