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.