mirror of
https://github.com/ceph/ceph
synced 2025-03-19 17:06:24 +00:00
cmake: install ceph-mgr and its python modules
Signed-off-by: Tim Serong <tserong@suse.com>
This commit is contained in:
parent
da76c59efc
commit
c6972b983b
@ -532,6 +532,7 @@ if (WITH_MGR)
|
||||
target_include_directories(ceph-mgr PRIVATE "${PYTHON_INCLUDE_DIRS}")
|
||||
target_link_libraries(ceph-mgr mds osdc global
|
||||
-lboost_python ${PYTHON_LIBRARIES} ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
|
||||
install(TARGETS ceph-mgr DESTINATION bin)
|
||||
endif (WITH_MGR)
|
||||
|
||||
set(librados_config_srcs
|
||||
|
@ -55,3 +55,11 @@ endforeach()
|
||||
install(FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/ceph_rest_api.py
|
||||
DESTINATION ${PYTHON_INSTDIR})
|
||||
|
||||
if(WITH_MGR)
|
||||
# Needs to match src/common/config_opts.h, which has:
|
||||
# OPTION(mgr_module_path, OPT_STR, CEPH_PKGLIBDIR "/mgr")
|
||||
install(DIRECTORY
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/mgr
|
||||
DESTINATION ${CMAKE_INSTALL_PKGLIBDIR})
|
||||
endif(WITH_MGR)
|
||||
|
Loading…
Reference in New Issue
Block a user