From: Kefu Chai Date: Wed, 26 Apr 2017 07:54:15 +0000 (+0800) Subject: cmake: no need to link ceph-mgr against mds X-Git-Tag: v12.0.3~205^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6c2a5a27715fdf53629f8059ab2d7c171e14541b;p=ceph.git cmake: no need to link ceph-mgr against mds Signed-off-by: Kefu Chai --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 927a2044b3b6..2378863ee903 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -651,7 +651,7 @@ if (WITH_MGR) add_executable(ceph-mgr ${mgr_srcs} $) target_include_directories(ceph-mgr PRIVATE "${PYTHON_INCLUDE_DIRS}") - target_link_libraries(ceph-mgr mds osdc global-static common + target_link_libraries(ceph-mgr osdc global-static common ${Boost_PYTHON_LIBRARY} ${PYTHON_LIBRARIES} ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${ALLOC_LIBS}) install(TARGETS ceph-mgr DESTINATION bin) endif (WITH_MGR)