]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: dashboard: move "if(WITH_MGR_DASHBOARD_FRONTEND)" up 30958/head
authorKefu Chai <kchai@redhat.com>
Wed, 16 Oct 2019 08:50:47 +0000 (16:50 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 16 Oct 2019 08:50:49 +0000 (16:50 +0800)
commitd3ac8b132d466bc758e28450236811b630f641dd
tree48ed89ad82b80209c8cb1339a4a3836060710e68
parentccdedcf4d59dafc5f556d25778fac0e432abb286
cmake: dashboard: move "if(WITH_MGR_DASHBOARD_FRONTEND)" up

two reasons:

* we don't need to run the tox test if WITH_MGR_DASHBOARD_FRONTEND is
  OFF
* better readability

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/CMakeLists.txt
src/pybind/mgr/dashboard/CMakeLists.txt