Skip to content

CMake find_package failed to import opentelemetry-cpp #513

@ThomsonTan

Description

@ThomsonTan

We added packaged installation in PR #432, which could install opentelemetry-cpp correctly to the designated target. But I got below message while import the installed package from a standalone project.

Seems we missed to pass include dir as PATH_VAR for configure_package_config_file.

lib/cmake/opentelemetry-cpp-config.cmake:64 (message):
File or directory referenced by variable OPENTELEMETRY_CPP_INCLUDE_DIRS
does not exist !

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