summaryrefslogtreecommitdiffstats
path: root/src/test/cls_lock
diff options
context:
space:
mode:
authorKefu Chai <kchai@redhat.com>2016-06-02 05:15:26 +0200
committerKefu Chai <kchai@redhat.com>2016-06-04 03:38:08 +0200
commit3245df5508f315e39c5992a1c6f434370c008851 (patch)
tree87a147f2595e256e88c584e5cc8b5c9cf0bc2014 /src/test/cls_lock
parentmakefile: install mount.fuse.ceph,mount.ceph into /usr/sbin (diff)
downloadceph-3245df5508f315e39c5992a1c6f434370c008851.tar.xz
ceph-3245df5508f315e39c5992a1c6f434370c008851.zip
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>
Diffstat (limited to 'src/test/cls_lock')
-rw-r--r--src/test/cls_lock/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/cls_lock/CMakeLists.txt b/src/test/cls_lock/CMakeLists.txt
index c2544915fc7..ef2b6458e28 100644
--- a/src/test/cls_lock/CMakeLists.txt
+++ b/src/test/cls_lock/CMakeLists.txt
@@ -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}