Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong catch_ros include dir in certain situations #19

Open
xqms opened this issue Aug 20, 2021 · 0 comments
Open

Wrong catch_ros include dir in certain situations #19

xqms opened this issue Aug 20, 2021 · 0 comments

Comments

@xqms
Copy link
Member

xqms commented Aug 20, 2021

As discovered in AIS-Bonn/catch_ros#15, we currently prefer the catch_ros headers from e.g. /opt/ros/noetic/include in favor of the (correct) ones from the current workspace.

The reason is this line:

include_directories(${catch_ros_INCLUDE_DIRS})

... which adds the catch_ros headers to the end. Instead, we should use catkin's list_insert_in_workspace_order() function to correctly insert the additional include path.

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

No branches or pull requests

1 participant