#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
, ...).