From: Kefu Chai Date: Fri, 20 Aug 2021 14:50:40 +0000 (+0800) Subject: cmake: exclude "grafonnet-lib" target from "all" X-Git-Tag: v16.2.6~34^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F42898%2Fhead;p=ceph.git cmake: exclude "grafonnet-lib" target from "all" so we don't build this target when running "make", and hence avoid accessing the internet in a building envronment where the internest access is not allowed. Signed-off-by: Kefu Chai (cherry picked from commit 1835fd86ddfe7f00e9ec3124fa1425e53cd7a930) Conflicts: monitoring/grafana/dashboards/CMakeLists.txt - pacific does not have "LOG_DOWNLOAD ON", "LOG_MERGED_STDOUTERR ON", or "LOG_OUTPUT_ON_FAILURE ON", but that fact is orthogonal to the substance of this backport --- diff --git a/monitoring/grafana/dashboards/CMakeLists.txt b/monitoring/grafana/dashboards/CMakeLists.txt index c97fee6f9af3..65037cbd843a 100644 --- a/monitoring/grafana/dashboards/CMakeLists.txt +++ b/monitoring/grafana/dashboards/CMakeLists.txt @@ -21,7 +21,8 @@ if(WITH_GRAFANA) URL_MD5 0798752ed40864fa8b3db40a3c970642 BUILD_COMMAND "" CONFIGURE_COMMAND "" - INSTALL_COMMAND "") + INSTALL_COMMAND "" + EXCLUDE_FROM_ALL ON) add_dependencies(tests ${name}) ExternalProject_Get_Property(${name} SOURCE_DIR)