fixed that tests not getting linked against prometheus-cc (#1131)
Fixed typo in the CMakeLists file: tests were not linked against prometheus-ccmaster
parent
ff18bae528
commit
13d9754155
|
@ -194,7 +194,7 @@ foreach(ABS_FIL ${ALL_TESTS})
|
||||||
target_link_libraries("${TEST_TARGET_NAME}" PUBLIC async_grpc)
|
target_link_libraries("${TEST_TARGET_NAME}" PUBLIC async_grpc)
|
||||||
endif()
|
endif()
|
||||||
if(${BUILD_PROMETHEUS})
|
if(${BUILD_PROMETHEUS})
|
||||||
target_link_libraries(${PROJECT_NAME} PUBLIC prometheus-cpp)
|
target_link_libraries("${TEST_TARGET_NAME}" PUBLIC prometheus-cpp)
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue