From 2ca0acbd609d6515214c68866e6b1205ddedb57b Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Wed, 21 Nov 2018 09:44:16 -0500 Subject: [PATCH] cmake: vstart-base only depends on ceph-mgr if WITH_MGR Signed-off-by: Casey Bodley --- src/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b1fb8bf4e74..d90dc294b89 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -731,13 +731,15 @@ configure_file( add_custom_target(vstart-base DEPENDS ceph-osd ceph-mon - ceph-mgr ceph-authtool ceph-conf monmaptool crushtool rados cython${PY_BINDING_INFIX}_rados) +if (WITH_MGR) + add_dependencies(vstart-base ceph-mgr) +endif() add_custom_target(vstart DEPENDS vstart-base) if (WITH_RBD) -- 2.39.5