From 54500228c6c6354acececc51cfe580bff9cac41e Mon Sep 17 00:00:00 2001 From: Tim Wojtulewicz Date: Wed, 15 Feb 2023 13:22:58 -0700 Subject: [PATCH] Add prometheus-cpp submodule, FindPrometheusCpp cmake module --- .gitmodules | 3 +++ CMakeLists.txt | 1 + auxil/prometheus-cpp | 1 + cmake | 2 +- 4 files changed, 6 insertions(+), 1 deletion(-) create mode 160000 auxil/prometheus-cpp diff --git a/.gitmodules b/.gitmodules index d2d2d220ad..ddb2651a18 100644 --- a/.gitmodules +++ b/.gitmodules @@ -73,3 +73,6 @@ [submodule "auxil/vcpkg"] path = auxil/vcpkg url = https://github.com/microsoft/vcpkg +[submodule "auxil/prometheus-cpp"] + path = auxil/prometheus-cpp + url = https://github.com/jupp0r/prometheus-cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index 5a95e64969..cbf3f5ec32 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1113,6 +1113,7 @@ include(GetArchitecture) include(FindCAres) include(FindKqueue) +include(FindPrometheusCpp) include_directories(BEFORE "auxil/out_ptr/include") if ((OPENSSL_VERSION VERSION_EQUAL "1.1.0") OR (OPENSSL_VERSION VERSION_GREATER "1.1.0")) diff --git a/auxil/prometheus-cpp b/auxil/prometheus-cpp new file mode 160000 index 0000000000..4bd38da318 --- /dev/null +++ b/auxil/prometheus-cpp @@ -0,0 +1 @@ +Subproject commit 4bd38da318ec54af8e2d8d5d0bdbd5eb9bc0784f diff --git a/cmake b/cmake index 71ac5ebe5f..34cf738d60 160000 --- a/cmake +++ b/cmake @@ -1 +1 @@ -Subproject commit 71ac5ebe5ff61eb30c8f7b2973faacc6f16f88f2 +Subproject commit 34cf738d60a95d5ecf001de2c6e259578be4fc56