]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: vstart-base only depends on ceph-mgr if WITH_MGR 25204/head
authorCasey Bodley <cbodley@redhat.com>
Wed, 21 Nov 2018 14:44:16 +0000 (09:44 -0500)
committerCasey Bodley <cbodley@redhat.com>
Wed, 21 Nov 2018 14:44:16 +0000 (09:44 -0500)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/CMakeLists.txt

index b1fb8bf4e74926ee15df08430b13794bc6a371ad..d90dc294b8901e43941c1f9f1710692d788eff3b 100644 (file)
@@ -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)