From: Kefu Chai Date: Fri, 20 Aug 2021 14:50:40 +0000 (+0800) Subject: cmake: exclude "grafonnet-lib" target from "all" X-Git-Tag: v17.1.0~1045^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F42871%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 --- diff --git a/monitoring/grafana/dashboards/CMakeLists.txt b/monitoring/grafana/dashboards/CMakeLists.txt index f9c09ea4e4a6..b8f59fc04b84 100644 --- a/monitoring/grafana/dashboards/CMakeLists.txt +++ b/monitoring/grafana/dashboards/CMakeLists.txt @@ -24,7 +24,8 @@ if(WITH_GRAFANA) INSTALL_COMMAND "" LOG_DOWNLOAD ON LOG_MERGED_STDOUTERR ON - LOG_OUTPUT_ON_FAILURE ON) + LOG_OUTPUT_ON_FAILURE ON + EXCLUDE_FROM_ALL ON) add_dependencies(tests ${name}) ExternalProject_Get_Property(${name} SOURCE_DIR)