diff --git a/jsk_rosbag_tools/CMakeLists.txt b/jsk_rosbag_tools/CMakeLists.txt index 75647f879..3fff162e5 100644 --- a/jsk_rosbag_tools/CMakeLists.txt +++ b/jsk_rosbag_tools/CMakeLists.txt @@ -18,7 +18,7 @@ catkin_package( CATKIN_DEPENDS ) -if($ENV{ROS_DISTRO} STREQUAL "noetic") +if("$ENV{ROS_DISTRO}" STRGREATER "noetic" OR "$ENV{ROS_DISTRO}" STREQUAL "Debian" OR "$ENV{ROS_DISTRO}" STREQUAL "debian") catkin_generate_virtualenv( INPUT_REQUIREMENTS requirements.in PYTHON_INTERPRETER python3