cmake: add libcommon to libmds

MDSDaemon is using cpu_profiler_handle_command() offered by libcommon

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2016-05-27 16:00:43 +08:00
parent 1dbfb264ff
commit 9a357a9de0

View 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}