As discovered in https://github.com/AIS-Bonn/catch_ros/pull/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.
... 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.
As discovered in https://github.com/AIS-Bonn/catch_ros/pull/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: https://github.com/AIS-Bonn/nimbro_network/blob/7e1de20c8fb33fb1bf22ab9a8c4e93d098b9c4a3/nimbro_topic_transport/CMakeLists.txt#L170
... which adds the
catch_ros
headers to the end. Instead, we should use catkin'slist_insert_in_workspace_order()
function to correctly insert the additional include path.