Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.

Fix how generated headers are added to the include search path#173

Closed
poggenhans wants to merge 1 commit intoros:noetic-develfrom
poggenhans:fix_system_include_dirs
Closed

Fix how generated headers are added to the include search path#173
poggenhans wants to merge 1 commit intoros:noetic-develfrom
poggenhans:fix_system_include_dirs

Conversation

@poggenhans
Copy link
Copy Markdown

The include_directories command is used incorrectly. The BEFORE has to go before the SYSTEM: https://cmake.org/cmake/help/latest/command/include_directories.html.

With the current implementation, the the actual directory and a non-existing directory BEFORE are instead added to the end.

Headers are now added at the start of the system include search path as intended instead of at the end
@sloretz
Copy link
Copy Markdown
Contributor

sloretz commented Apr 23, 2025

Fixed by #182

@sloretz sloretz closed this Apr 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants