The CMake build has a variable INSTALL_INCLUDE_DIR that controls the folder headers get installed to. It appears the intent is to allow installing the header to a different folder using cmake -DINSTALL_INCLUDE_DIR=... , and the include directory on the exported yaml target reflects that.
Unfortunately, the actual install() command ignores it and hard codes include. This PR fixes that bug.
The CMake build has a variable
INSTALL_INCLUDE_DIR
that controls the folder headers get installed to. It appears the intent is to allow installing the header to a different folder usingcmake -DINSTALL_INCLUDE_DIR=...
, and the include directory on the exportedyaml
target reflects that.Unfortunately, the actual
install()
command ignores it and hard codesinclude
. This PR fixes that bug.