From 87a61475224782c5549e9813d983c79cba0d0dc6 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 29 Jun 2016 21:37:07 +0800 Subject: [PATCH] cmake: build install libcls_numops test_cls_numops uses it. Signed-off-by: Kefu Chai --- src/cls/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/cls/CMakeLists.txt b/src/cls/CMakeLists.txt index 078c444a79afa..1c3f55c427576 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) -- 2.39.5