Add WITH_CEPHADM as a build flag to control if cephadm should be built.
Signed-off-by: Alex Wojno <awojno@bloomberg.net>
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