Skip to content

deprecation warning #4

@abdullah-ukaea

Description

@abdullah-ukaea

We get this std error after colcon build finishes.
`
CMake Deprecation Warning at /opt/ros/rolling/share/ament_cmake_target_dependencies/cmake/ament_target_dependencies.cmake:87 (message):
ament_target_dependencies() is deprecated. Use target_link_libraries()
with modern CMake targets instead. Try replacing this call with:

target_link_libraries(crcopen_hardware PUBLIC
  ${lifecycle_msgs_TARGETS}
  hardware_interface::hardware_interface
  hardware_interface::mock_components
  pluginlib::pluginlib
  rclcpp::rclcpp
  rclcpp_lifecycle::rclcpp_lifecycle
)

Call Stack (most recent call first):
CMakeLists.txt:38 (ament_target_dependencies)
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions