mirror of
https://github.com/ceph/ceph
synced 2024-12-28 14:34:13 +00:00
cmake: link rbd_reply against rbd_replay_types
should make it `PUBLIC` because, for instance, src/rbd_replay/actions.hpp uses `rbd_replay::action::IoActionBase::dump()` and `rbd_replay::action::ActionBase::dump()` Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
68fb46d3ac
commit
61bd70535f
@ -10,12 +10,14 @@ set(librbd_replay_srcs
|
||||
rbd_loc.cc
|
||||
Replayer.cc)
|
||||
add_library(rbd_replay STATIC ${librbd_replay_srcs})
|
||||
target_link_libraries(rbd_replay PRIVATE librbd librados global)
|
||||
target_link_libraries(rbd_replay
|
||||
PUBLIC rbd_replay_types
|
||||
PRIVATE librbd librados global)
|
||||
|
||||
add_executable(rbd-replay
|
||||
rbd-replay.cc)
|
||||
target_link_libraries(rbd-replay
|
||||
librbd librados global rbd_replay rbd_replay_types ceph-common)
|
||||
librbd librados global rbd_replay ceph-common)
|
||||
install(TARGETS rbd-replay DESTINATION bin)
|
||||
|
||||
set(librbd_replay_ios_srcs
|
||||
@ -29,7 +31,6 @@ if(HAVE_BABELTRACE)
|
||||
target_link_libraries(rbd-replay-prep
|
||||
rbd_replay
|
||||
rbd_replay_ios
|
||||
rbd_replay_types
|
||||
librbd
|
||||
librados
|
||||
ceph-common
|
||||
|
Loading…
Reference in New Issue
Block a user