How to find_package of a external ros-wrapped library (g2o)
Hi,
I have written a ros-wrapper for g2o [0] and wish to do a find_package(G2O REQUIRED)
and include_directories(${G2O_INCLUDE_DIRS})
in my packages CMakeLists.txt
The library includes a FindG2O.cmake file which I also copied to my projects CMakeModules folder(not sure where the file should be), but still the find_package does't work. So, how are you supposed to find_package of external libraries you have written a ros-wrapper for? I am using Ubuntu 12.04 and Fuerte.
Another question would be, if the external library you wrapped in ROS, doesn't have a Find.cmake file, do you have to write one yourself in order to use find_package?
Cheers,
Oier