Skip to content

Improve support for older CMake versions with stricter interface lib …#99

Open
m0rsch1 wants to merge 4 commits into
masterfrom
improve-cmake-support-for-interface-libs
Open

Improve support for older CMake versions with stricter interface lib …#99
m0rsch1 wants to merge 4 commits into
masterfrom
improve-cmake-support-for-interface-libs

Conversation

@m0rsch1

@m0rsch1 m0rsch1 commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

…handling

Older CMake versions want some properties like INCLUDE_DIRECTORIES to be prefixed with INTERFACE_
Otherwise they throw an error.
This fixes some issues with orocos-cpp and backward-cpp during build process on OSes with older CMake Versions (like e.g. Ubuntu 20.04)

…handling

Signed-off-by: Moritz Schilling <moritz.schilling@dfki.de>

@pierrewillenbrockdfki pierrewillenbrockdfki left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This adds support for targets of TYPE INTERFACE_LIBRARY, i think that exists elsewhere as well. That seems fine. What is blindingly obvious in the online diff is: the indentation does not match the surroundings and is not consistent with itself. Please fix that(replace TAB with 8 spaces).

Comment thread modules/Rock.cmake

@pierrewillenbrockdfki pierrewillenbrockdfki left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

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.

5 participants