From: Kefu Chai Date: Wed, 29 Jun 2016 13:37:07 +0000 (+0800) Subject: cmake: build install libcls_numops X-Git-Tag: ses5-milestone5~570^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F9995%2Fhead;p=ceph.git cmake: build install libcls_numops test_cls_numops uses it. Signed-off-by: Kefu Chai --- diff --git a/src/cls/CMakeLists.txt b/src/cls/CMakeLists.txt index 078c444a79af..1c3f55c42757 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)