]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: build install libcls_numops 9995/head
authorKefu Chai <kchai@redhat.com>
Wed, 29 Jun 2016 13:37:07 +0000 (21:37 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 29 Jun 2016 14:50:30 +0000 (22:50 +0800)
test_cls_numops uses it.

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

index 078c444a79afa340202e25eff87c674c647676d3..1c3f55c4275762f1679c185d414c1755d03f1909 100644 (file)
@@ -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)