From 0562f1350ba395cb0dcdf4e287b91f4a2dd1f629 Mon Sep 17 00:00:00 2001 From: Kei Okada Date: Sun, 29 Dec 2024 20:18:53 +0900 Subject: [PATCH] jsk_rosbag_tools/CMakeLists.txt: $ENV{ROS_DISTRO} -. "$ENV{ROS_DISTRO}" for 24.04, which does not have ROS_DISTRO environment --- 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 b52a9bb29..445533776 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 "indigo" OR $ENV{ROS_DISTRO} STREQUAL "kinetic" OR $ENV{ROS_DISTRO} STREQUAL "melodic") +if("$ENV{ROS_DISTRO}" STREQUAL "indigo" OR "$ENV{ROS_DISTRO}" STREQUAL "kinetic" OR "$ENV{ROS_DISTRO}" STREQUAL "melodic") catkin_generate_virtualenv( INPUT_REQUIREMENTS requirements.in.python2 PYTHON_INTERPRETER python2