fixed that tests not getting linked against prometheus-cc (#1131)

Fixed typo in the CMakeLists file: tests were not linked against prometheus-cc
master
Martin Schwörer 2018-04-30 16:57:08 +02:00 committed by Wally B. Feed
parent ff18bae528
commit 13d9754155
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ foreach(ABS_FIL ${ALL_TESTS})
target_link_libraries("${TEST_TARGET_NAME}" PUBLIC async_grpc)
endif()
if(${BUILD_PROMETHEUS})
target_link_libraries(${PROJECT_NAME} PUBLIC prometheus-cpp)
target_link_libraries("${TEST_TARGET_NAME}" PUBLIC prometheus-cpp)
endif()
endforeach()