Skip to content

Replace include_directories by CMAKE_${LANG}_STANDARD_INCLUDE_DIRECTORIES#69

Merged
MarkSchofield merged 1 commit intomainfrom
mschofie/include-path
Jun 10, 2023
Merged

Replace include_directories by CMAKE_${LANG}_STANDARD_INCLUDE_DIRECTORIES#69
MarkSchofield merged 1 commit intomainfrom
mschofie/include-path

Conversation

@MarkSchofield
Copy link
Copy Markdown
Owner

Thanks to @bebuch for calling out (in #67) that the Toolchain should be setting CMAKE_CXX_STANDARD_INCLUDE_DIRECTORIES, and not calling include_directories. This change removes all include_directories calls and instead builds CMAKE_${LANG}_STANDARD_INCLUDE_DIRECTORIES for LANG values of C, CXX, RC.

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.

Replace include_directories by CMAKE_CXX_STANDARD_INCLUDE_DIRECTORIES

1 participant