ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

I found a better solution by comparing $ENV{ROS_DISTRO} value with STRGREATER like below:

if("$ENV{ROS_DISTRO}" STRGREATER "hydro")
...
endif()