]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cmake: exclude "grafonnet-lib" target from "all"
authorKefu Chai <kchai@redhat.com>
Fri, 20 Aug 2021 14:50:40 +0000 (22:50 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 20 Aug 2021 14:50:42 +0000 (22:50 +0800)
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 <kchai@redhat.com>
monitoring/grafana/dashboards/CMakeLists.txt

index f9c09ea4e4a6bfc845bfca4a18bcc02c09e526ef..b8f59fc04b843fc23d0b2080821bd7cf0a79ead5 100644 (file)
@@ -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)