summaryrefslogtreecommitdiffstats
path: root/src/cls/CMakeLists.txt
diff options
context:
space:
mode:
authorKefu Chai <kchai@redhat.com>2016-06-29 15:37:07 +0200
committerKefu Chai <kchai@redhat.com>2016-06-29 16:50:30 +0200
commit87a61475224782c5549e9813d983c79cba0d0dc6 (patch)
treedea70a6c560172437663d99d0998b05a177f2ae1 /src/cls/CMakeLists.txt
parentcmake: install ceph_test_filestore_idempotent_sequence (diff)
downloadceph-87a61475224782c5549e9813d983c79cba0d0dc6.tar.xz
ceph-87a61475224782c5549e9813d983c79cba0d0dc6.zip
cmake: build install libcls_numops
test_cls_numops uses it. Signed-off-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'src/cls/CMakeLists.txt')
-rw-r--r--src/cls/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cls/CMakeLists.txt b/src/cls/CMakeLists.txt
index 078c444a79a..1c3f55c4275 100644
--- a/src/cls/CMakeLists.txt
+++ b/src/cls/CMakeLists.txt
@@ -5,6 +5,11 @@ add_library(cls_hello SHARED hello/cls_hello.cc)
set_target_properties(cls_hello PROPERTIES VERSION "1.0.0" SOVERSION "1")
install(TARGETS cls_hello DESTINATION lib/rados-classes)
+# cls_numops
+add_library(cls_numops SHARED numops/cls_numops.cc)
+set_target_properties(cls_numops PROPERTIES VERSION "1.0.0" SOVERSION "1")
+install(TARGETS cls_numops DESTINATION lib/rados-classes)
+
# cls_rbd
if (WITH_RBD)
add_library(cls_rbd SHARED rbd/cls_rbd.cc rbd/cls_rbd_types.cc)