Skip to content

CMake modernization/cleanup - #1195

Closed
benmccann wants to merge 1 commit into
BehaviorTree:masterfrom
benmccann:c20
Closed

CMake modernization/cleanup#1195
benmccann wants to merge 1 commit into
BehaviorTree:masterfrom
benmccann:c20

Conversation

@benmccann

@benmccann benmccann commented Sep 1, 2026

Copy link
Copy Markdown

Modernize the CMake configuration for the examples by replacing the directory-wide include_directories() call with target-specific target_include_directories() declarations.

CMake recommends using target-scoped include directories because they avoid modifying the build environment for unrelated targets and make dependencies explicit.

@benmccann benmccann changed the title Replace deprecated include_directories in cmake CMake modernization/cleanup Sep 1, 2026
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