How could I detect that ROS is installed in CMakeLists
Hi!
I need to make universal CMakeLists.txt, able to build package with ROS or not. So I need some conditional variable to detect, that package could be build with ROS:
if(SOMEVAR)
set(USE_ROS true)
endif()
if(USE_ROS)
find_package ...
catkin_package ...
endif()
Thanks!