Skip to content

Commit

Permalink
cmake: add ceph-mds to 'make vstart' target only if WITH_MDS
Browse files Browse the repository at this point in the history
Signed-off-by: Casey Bodley <cbodley@redhat.com>
  • Loading branch information
cbodley committed Jun 23, 2016
1 parent 309242a commit bda27b4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/CMakeLists.txt
Expand Up @@ -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)
Expand Down

0 comments on commit bda27b4

Please sign in to comment.