← All tasks
cppjbeder/yaml-cpp #526Not a task: already works

Request: Relocatable cmake export files

envgap__jbeder__yaml-cpp-526

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
46dcdc3ea2c19f60d0557569d3c24dffdf712781
Manifest
CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

jbeder/yaml-cpp #526 · read the original issue
When installed, the cmake export files yaml-cpp-targets*.cmake contain absolute paths to the import prefix.  cmake documentation seems to imply that these files can (and should) contain paths relative to these cmake files instead.  This allows one to install to a prefix, then to move all the files to a new prefix, allowing things to continue to work.  cmake documentation is awful, though, and I can't figure out what changes to CMakeLists.txt would make this work.
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]