ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I found a better solution by comparing $ENV{ROS_DISTRO} value with STRGREATER like below:
if("$ENV{ROS_DISTRO}" STRGREATER "hydro")
...
endif()