From 2536049baa3fc1d5d3c43a51ffb58d6ab9ab622c Mon Sep 17 00:00:00 2001 From: Christoph Froehlich Date: Sat, 3 Aug 2024 10:27:47 +0000 Subject: [PATCH] Check for cm instead --- example_13/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example_13/CMakeLists.txt b/example_13/CMakeLists.txt index 92d034e79..06aec8e9d 100644 --- a/example_13/CMakeLists.txt +++ b/example_13/CMakeLists.txt @@ -10,9 +10,9 @@ set(THIS_PACKAGE_INCLUDE_DEPENDS ) # Specify the required version of ros2_control -find_package(ros2_control 4.0.0) +find_package(controller_manager 4.0.0) # Handle the case where the required version is not found -if(NOT ros2_control_FOUND) +if(NOT controller_manager_FOUND) message(FATAL_ERROR "ros2_control version 4.0.0 or higher is required. " "Are you using the correct branch of the ros2_control_demos repository?") endif()