Skip to content

prometheus-cpp::util is not found in prometheus-cpp 1.1.0 and before. Which will make prometheus fail to build  #2605

@owent

Description

@owent

Describe your environment

Windows

Steps to reproduce

Build otel-cpp with prometheus-cpp 1.1.0

What is the expected behavior?
Success

What is the actual behavior?

[cmake] CMake Error at exporters/prometheus/CMakeLists.txt:33 (target_link_libraries):
[cmake]   Target "opentelemetry_exporter_prometheus" links to:
[cmake] 
[cmake]     prometheus-cpp::util
[cmake] 
[cmake]   but the target was not found.  Possible reasons include:
[cmake] 
[cmake]     * There is a typo in the target name.
[cmake]     * A find_package call is missing for an IMPORTED target.
[cmake]     * An ALIAS target is missing.
[cmake] 
[cmake] 
[cmake] 

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions