Skip to content

Commit d146d23

Browse files
committed
ensure prometheus-cpp depends on the curl build
1 parent 27beae0 commit d146d23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/cmake/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ set(prometheus-cpp_ARGS
288288
${CMAKE_BINARY_DIR}/external/prometheus-cpp
289289
INSTALL_DIR
290290
${CMAKE_INSTALL_PREFIX}
291+
DEPENDS zlib curl
291292
CMAKE_ARGS
292293
"${CMAKE_OPTIONS}"
293294
"-DENABLE_TESTING=OFF"
@@ -302,7 +303,6 @@ if(EXISTS "${OTELCPP_SOURCE_DIR}/third_party/prometheus-cpp/.git")
302303
else()
303304
ExternalProject_Add(
304305
prometheus-cpp
305-
DEPENDS zlib curl
306306
GIT_REPOSITORY "https://github.com/jupp0r/prometheus-cpp.git"
307307
GIT_TAG ${prometheus-cpp_GIT_TAG}
308308
GIT_SHALLOW ON

0 commit comments

Comments
 (0)