From 3df6b28136c76fc63ffb3f845da2509aabef4611 Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Wed, 6 Dec 2023 16:13:36 -0700 Subject: [PATCH] Depend on `rsl::rsl` as a non-Ament dependency (#2578) --- moveit_core/utils/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/moveit_core/utils/CMakeLists.txt b/moveit_core/utils/CMakeLists.txt index a5d0a884f0..3bd09ef841 100644 --- a/moveit_core/utils/CMakeLists.txt +++ b/moveit_core/utils/CMakeLists.txt @@ -8,7 +8,8 @@ target_include_directories(moveit_utils PUBLIC $ $ ) -ament_target_dependencies(moveit_utils Boost moveit_msgs rclcpp rsl fmt) +ament_target_dependencies(moveit_utils Boost moveit_msgs rclcpp fmt) +target_link_libraries(moveit_utils rsl::rsl) set_target_properties(moveit_utils PROPERTIES VERSION "${${PROJECT_NAME}_VERSION}") install(DIRECTORY include/ DESTINATION include/moveit_core) @@ -20,7 +21,7 @@ target_include_directories(moveit_test_utils PUBLIC $ $ ) -target_link_libraries(moveit_test_utils moveit_robot_model moveit_kinematics_base) +target_link_libraries(moveit_test_utils moveit_robot_model moveit_kinematics_base rsl::rsl) ament_target_dependencies(moveit_test_utils ament_index_cpp Boost @@ -30,7 +31,6 @@ ament_target_dependencies(moveit_test_utils urdfdom urdfdom_headers rclcpp - rsl fmt ) set_target_properties(moveit_test_utils PROPERTIES VERSION "${${PROJECT_NAME}_VERSION}")