File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ endif()
12
12
13
13
find_package (GoogleBenchmark)
14
14
find_package (Protobuf REQUIRED)
15
+ find_package (ZLIB REQUIRED)
15
16
find_package (Telegraf)
16
17
17
18
# suppress warnings
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ add_library(prometheus-cpp
42
42
)
43
43
44
44
# TODO(gj) make all PRIVATE
45
- target_link_libraries (prometheus-cpp PUBLIC ${PROTOBUF_LIBRARIES} )
45
+ target_link_libraries (prometheus-cpp PUBLIC ${PROTOBUF_LIBRARIES} ${ZLIB_LIBRARIES} )
46
46
target_include_directories (prometheus-cpp PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} /../include >)
47
47
target_include_directories (prometheus-cpp PUBLIC ${PROTOBUF_INCLUDE_DIRS} )
48
48
target_include_directories (prometheus-cpp PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR} >)
You can’t perform that action at this time.
0 commit comments