mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38:20 +00:00
Use vcpkg to build prometheus-cpp dependency
This commit is contained in:
parent
c1a7376def
commit
140d3b368f
2 changed files with 5 additions and 1 deletions
|
@ -1140,7 +1140,10 @@ set(zeekdeps ${zeekdeps} c-ares::cares)
|
|||
|
||||
include(FindKqueue)
|
||||
|
||||
include(FindPrometheusCpp)
|
||||
find_package(prometheus-cpp CONFIG REQUIRED)
|
||||
set(zeekdeps ${zeekdeps} prometheus-cpp::core prometheus-cpp::pull)
|
||||
include_directories(BEFORE ${prometheus-cpp_INCLUDE_DIR})
|
||||
|
||||
include_directories(BEFORE "auxil/out_ptr/include")
|
||||
|
||||
if ((OPENSSL_VERSION VERSION_EQUAL "1.1.0") OR (OPENSSL_VERSION VERSION_GREATER "1.1.0"))
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
"version-string": "latest",
|
||||
"dependencies": [
|
||||
"c-ares",
|
||||
"prometheus-cpp",
|
||||
{
|
||||
"name": "zlib",
|
||||
"platform": "windows"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue