]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: fix linkage of ceph_test_cls_${name}
authorKefu Chai <kchai@redhat.com>
Thu, 2 Jun 2016 03:15:26 +0000 (11:15 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 4 Jun 2016 01:38:08 +0000 (09:38 +0800)
they should link against cls_${name}_client, instead of against
cls_${name} directly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/cls_lock/CMakeLists.txt
src/test/cls_rbd/CMakeLists.txt

index c2544915fc71d7d160fc0249e28046525a53613f..ef2b6458e288c922e26ac7120ccca6b8c13c3ca7 100644 (file)
@@ -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}
index 84be512201fde8039e3a8447ae302b4764a334a2..51f063d1706619aa97d0068f9348399e15ca57ef 100644 (file)
@@ -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}