]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: add libcommon to libmds
authorKefu Chai <kchai@redhat.com>
Fri, 27 May 2016 08:00:43 +0000 (16:00 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 27 May 2016 16:34:52 +0000 (00:34 +0800)
MDSDaemon is using cpu_profiler_handle_command() offered by libcommon

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

index 71f2e2fbb05a8c0802cc380b2ff1b6e80dcd3ce1..cf273b1853c43614652e4ad2939cf87a234a20b9 100644 (file)
@@ -953,7 +953,7 @@ if(${WITH_MDS})
   add_library(mds ${mds_srcs}
     $<TARGET_OBJECTS:heap_profiler_objs>
     $<TARGET_OBJECTS:common_util_obj>)
-  target_link_libraries(mds ${ALLOC_LIBS} osdc)
+  target_link_libraries(mds ${ALLOC_LIBS} osdc common)
   set(ceph_mds_srcs
     ceph_mds.cc)
   add_executable(ceph-mds ${ceph_mds_srcs}