Skip to content

Bug fix: Install yaml.h to INSTALL_INCLUDE_DIR#244

Open
sloretz wants to merge 1 commit intoyaml:masterfrom
sloretz:sloretz__respect_INSTALL_INCLUDE_DIR
Open

Bug fix: Install yaml.h to INSTALL_INCLUDE_DIR#244
sloretz wants to merge 1 commit intoyaml:masterfrom
sloretz:sloretz__respect_INSTALL_INCLUDE_DIR

Conversation

@sloretz
Copy link

@sloretz sloretz commented Mar 2, 2022

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.

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant