Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion FindPrometheusCpp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ message("\n==================| prometheus-cpp Config Summary |================
add_subdirectory(auxil/prometheus-cpp EXCLUDE_FROM_ALL)
message("=========================================================================\n ")

set(zeekdeps ${zeekdeps} prometheus-cpp::core prometheus-cpp::pull)
# The prometheus symbols are brought by broker, which links the libraries in statically
# before Zeek links. We can skip linking them in ourselves as long as we are linking
# against broker.
#set(zeekdeps ${zeekdeps} prometheus-cpp::core prometheus-cpp::pull)

include_directories(BEFORE ${prometheuscpp_src}/pull/include ${prometheuscpp_src}/core/include)
include_directories(BEFORE ${prometheuscpp_build}/pull/include ${prometheuscpp_build}/core/include)

Expand Down
Loading