Skip to content

Commit

Permalink
Check for cm instead
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Aug 3, 2024
1 parent 2c4a078 commit 2536049
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example_13/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 2536049

Please sign in to comment.