diff --git a/controller_interface/CMakeLists.txt b/controller_interface/CMakeLists.txt index da47eeb82f..917da0a8c9 100644 --- a/controller_interface/CMakeLists.txt +++ b/controller_interface/CMakeLists.txt @@ -15,7 +15,6 @@ find_package(ament_cmake REQUIRED) foreach(Dependency IN ITEMS ${THIS_PACKAGE_INCLUDE_DEPENDS}) find_package(${Dependency} REQUIRED) endforeach() -add_compile_definitions(RCLCPP_VERSION_MAJOR=${rclcpp_lifecycle_VERSION_MAJOR}) add_library(controller_interface SHARED src/controller_interface_base.cpp diff --git a/controller_manager/CMakeLists.txt b/controller_manager/CMakeLists.txt index e8f1358147..1d6c76b5d5 100644 --- a/controller_manager/CMakeLists.txt +++ b/controller_manager/CMakeLists.txt @@ -25,7 +25,6 @@ find_package(backward_ros REQUIRED) foreach(Dependency IN ITEMS ${THIS_PACKAGE_INCLUDE_DEPENDS}) find_package(${Dependency} REQUIRED) endforeach() -add_compile_definitions(RCLCPP_VERSION_MAJOR=${rclcpp_VERSION_MAJOR}) add_library(controller_manager SHARED src/controller_manager.cpp