]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: fix building without mgr module 21591/head
authorYuan Zhou <yuan.zhou@intel.com>
Mon, 23 Apr 2018 01:34:55 +0000 (09:34 +0800)
committerYuan Zhou <yuan.zhou@intel.com>
Tue, 24 Apr 2018 05:09:34 +0000 (13:09 +0800)
commit0aa23bdd43695e5c05113bd528317b3be9a13482
treef3a4608bc41ecc6277e16a6b4a8ccdc7df8e0620
parent4f73c6035a7a47e738896eb68cea7d00531ba357
cmake: fix building without mgr module

cmake fails if WITH_MGR=OFF due to an null test job

$ cmake .. -DWITH_MGR=OFF
...
CMake Error at src/test/CMakeLists.txt:591 (set_property):
  set_property given TEST names that do not exist:

    run-tox-mgr-dashboard

This patch skips the run-tox-mgr-dashboard test if mgr is not enabled.

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
src/test/CMakeLists.txt