mirror of
https://github.com/zeek/zeek.git
synced 2025-10-01 22:28:20 +00:00
Convert telemetry code to use prometheus-cpp
This commit is contained in:
parent
97a35011a7
commit
a0ae06b3cd
22 changed files with 1517 additions and 1195 deletions
|
@ -236,6 +236,11 @@ if (ZEEK_STANDALONE)
|
|||
set(zeek_exe_access PRIVATE)
|
||||
else ()
|
||||
add_library(zeek_lib STATIC)
|
||||
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
||||
target_link_libraries(zeek_exe PRIVATE util)
|
||||
target_link_libraries(zeek_exe PRIVATE procstat)
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
if (TARGET zeek_lib)
|
||||
|
@ -248,6 +253,11 @@ if (TARGET zeek_lib)
|
|||
install(TARGETS zeek_lib LIBRARY DESTINATION lib)
|
||||
# Tell zeek_target_link_libraries to add library dependencies as PRIVATE.
|
||||
set(zeek_lib_access PRIVATE)
|
||||
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
||||
target_link_libraries(zeek_exe PRIVATE util)
|
||||
target_link_libraries(zeek_exe PRIVATE procstat)
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
# When building our fuzzers, we also need one extra top-level target that
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue