Backwards Compatible Ros Commands To Find System Headers (Fuerte -> Electric)
All,
I am trying to update some CMake files for a colleague since he is using Electric and I need to use Fuerte. I would like to update the CMake files using ROS's CMake macros, environment variables and console commands... Note these are not rosmake files but simple cmake files that use some of ROS's libraries.
However, some of the core headers (such as rosbag.h or ros.h) no longer follow a simple rospack find [package]
. This call returns me to /opt/ros/fuerte/share
directory.
Is it possible to somehow use rosbuild_find_ros_package
and prefix /include
in such a way that it works for all packages in Fuerte and Electric
Thank you