Fix tools/tests link with bluestore disabled

Signed-off-by: Daniel Gryniewicz <dang@fprintf.net>
This commit is contained in:
Daniel Gryniewicz 2026-02-02 13:53:16 -05:00
parent 5937363e43
commit 9a0e3c70c1
2 changed files with 5 additions and 3 deletions

View 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}

View 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)