]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: add ceph-mds to 'make vstart' target only if WITH_MDS
authorCasey Bodley <cbodley@redhat.com>
Thu, 23 Jun 2016 16:05:57 +0000 (12:05 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 23 Jun 2016 16:05:57 +0000 (12:05 -0400)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/CMakeLists.txt

index c5f2cec675842fb41fbc445f65eef23af509befa..d2cba247927304a6715b1e50c8b868bb3d6c105c 100644 (file)
@@ -1518,12 +1518,14 @@ add_subdirectory(brag)
 add_custom_target(vstart DEPENDS
     ceph-osd
     ceph-mon
-    ceph-mds
     ceph-authtool
     ceph-conf
     monmaptool
     crushtool
     cython_rados)
+if(WITH_MDS)
+  add_dependencies(vstart ceph-mds)
+endif(WITH_MDS)
 if(WITH_RADOSGW)
   add_dependencies(vstart radosgw radosgw-admin)
 endif(WITH_RADOSGW)