From 106e3a8a70098ec9009d4d13b9488faaac11eacb Mon Sep 17 00:00:00 2001 From: Stefan Scherzinger Date: Fri, 18 Oct 2024 15:00:09 +0200 Subject: [PATCH] Adjust CMake warnings for unsupported versions --- cartesian_controller_base/CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cartesian_controller_base/CMakeLists.txt b/cartesian_controller_base/CMakeLists.txt index d2c2f3e..1f6ff9b 100644 --- a/cartesian_controller_base/CMakeLists.txt +++ b/cartesian_controller_base/CMakeLists.txt @@ -19,12 +19,8 @@ elseif($ENV{ROS_DISTRO} STREQUAL "iron") set(CARTESIAN_CONTROLLERS_IRON TRUE) elseif($ENV{ROS_DISTRO} STREQUAL "humble") set(CARTESIAN_CONTROLLERS_HUMBLE TRUE) -elseif($ENV{ROS_DISTRO} STREQUAL "galactic") - set(CARTESIAN_CONTROLLERS_GALACTIC TRUE) -elseif($ENV{ROS_DISTRO} STREQUAL "foxy") - set(CARTESIAN_CONTROLLERS_FOXY TRUE) else() - message(WARNING "ROS2 version must be {jazzy|iron|humble|galactic|foxy}") + message(WARNING "ROS2 version must be {jazzy|iron|humble}") endif() configure_file(include/cartesian_controller_base/ROS2VersionConfig.h.in ROS2VersionConfig.h)