Skip to content

cmake install misses a header #1272

@VivekSubr

Description

@VivekSubr

Describe your environment
Ubuntu, wsl

Steps to reproduce
Install steps,
mkdir build && cd build
cmake .. -DBUILD_SHARED_LIBS=ON -DWITH_JAEGER=ON
cmake --build . --target all
ctest
cmake --install . --config Release --prefix ../.

What is the expected behavior?
The include directory should be as per cmake OPENTELEMETRY_CPP_INCLUDE_DIRS by default, and it should contain all relevant header files.

What is the actual behavior?
If --prefix not given it installs in same folder.

header "opentelemetry/sdk_config.h" is not copied.

Additional context
Usually code compiles fine, until you include a file that depends on sdk_config.h in an header, like
#include "opentelemetry/exporters/memory/in_memory_span_exporter.h"

Metadata

Metadata

Assignees

No one assigned

    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