mirror of
https://github.com/ceph/ceph
synced 2025-01-20 10:01:45 +00:00
cmake: fix linkage of ceph_test_cls_${name}
they should link against cls_${name}_client, instead of against cls_${name} directly. Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
52021ff9f0
commit
3245df5508
@ -4,7 +4,7 @@ add_executable(ceph_test_cls_lock
|
||||
set_target_properties(ceph_test_cls_lock PROPERTIES COMPILE_FLAGS
|
||||
${UNITTEST_CXX_FLAGS})
|
||||
target_link_libraries(ceph_test_cls_lock
|
||||
cls_lock
|
||||
cls_lock_client
|
||||
librados
|
||||
global
|
||||
${UNITTEST_LIBS}
|
||||
|
@ -8,8 +8,8 @@ set_target_properties(ceph_test_cls_rbd PROPERTIES COMPILE_FLAGS
|
||||
${UNITTEST_CXX_FLAGS})
|
||||
target_link_libraries(ceph_test_cls_rbd
|
||||
librbd
|
||||
cls_rbd
|
||||
cls_lock
|
||||
cls_rbd_client
|
||||
cls_lock_client
|
||||
librados
|
||||
global
|
||||
${UNITTEST_LIBS}
|
||||
|
Loading…
Reference in New Issue
Block a user