From 4f0b2da784d64cbdf907afeac5307d74873a69cb Mon Sep 17 00:00:00 2001 From: Kei Okada Date: Mon, 9 Dec 2024 17:49:16 +0900 Subject: [PATCH] ROS_DISTRO: Ubuntu uses 'Debian' and ROS-O uses 'debian' --- jsk_rosbag_tools/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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