Skip to content

Commit

Permalink
fixed that tests not getting linked against prometheus-cc (cartograph…
Browse files Browse the repository at this point in the history
…er-project#1131)

Fixed typo in the CMakeLists file: tests were not linked against prometheus-cc
  • Loading branch information
schwoere authored and wally-the-cartographer committed Apr 30, 2018
1 parent ff18bae commit 13d9754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 13d9754

Please sign in to comment.