Skip to content

Use the public read-only opentelemetry-cpp namespace cmake targets in examples #3399

@dbarker

Description

@dbarker

#3368 adds cmake read-only ALIAS targets for public use when integrating opentelemetry-cpp directly (with FetchContent or add_subdirectory). The examples should use these targets (opentelemetry-cpp::api, ..) instead of the internal mutable targets (opentelemetry_api, ...).

Metadata

Metadata

Assignees

Labels

triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions