From: Alex Wojno Date: Wed, 21 May 2025 19:30:06 +0000 (+0000) Subject: cephadm: add optional build flag X-Git-Tag: v21.0.0~256^2~585^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=aa379710639b651a834484dc8d94e24070f91dd4;p=ceph.git cephadm: add optional build flag Add WITH_CEPHADM as a build flag to control if cephadm should be built. Signed-off-by: Alex Wojno --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 801086e1268a..8d00390dc277 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -688,12 +688,16 @@ if(NOT CEPH_BUILD_VIRTUALENV) set(CEPH_BUILD_VIRTUALENV ${CMAKE_BINARY_DIR}) endif() +option(WITH_CEPHADM "Flag to determine if cephadm should be built" ON) + if(NOT WIN32) add_subdirectory(pybind) add_subdirectory(ceph-volume) add_subdirectory(ceph-node-proxy) add_subdirectory(python-common) -add_subdirectory(cephadm) + if(WITH_CEPHADM) + add_subdirectory(cephadm) + endif() endif(NOT WIN32) # Monitor