mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 20:48:21 +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(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")
|
include_directories(BEFORE "auxil/out_ptr/include")
|
||||||
|
|
||||||
if ((OPENSSL_VERSION VERSION_EQUAL "1.1.0") OR (OPENSSL_VERSION VERSION_GREATER "1.1.0"))
|
if ((OPENSSL_VERSION VERSION_EQUAL "1.1.0") OR (OPENSSL_VERSION VERSION_GREATER "1.1.0"))
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
"version-string": "latest",
|
"version-string": "latest",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
"c-ares",
|
"c-ares",
|
||||||
|
"prometheus-cpp",
|
||||||
{
|
{
|
||||||
"name": "zlib",
|
"name": "zlib",
|
||||||
"platform": "windows"
|
"platform": "windows"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue