Skip to content

Commit

Permalink
ROS_DISTRO: Ubuntu uses 'Debian' and ROS-O uses 'debian'
Browse files Browse the repository at this point in the history
  • Loading branch information
k-okada committed Dec 9, 2024
1 parent 7f4a37a commit 4f0b2da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsk_rosbag_tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f0b2da

Please sign in to comment.