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.
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.