Skip to content

Commit bbb4bf5

Browse files
committed
removing ament_target_dependencies form yasmin_ros
1 parent e9ebefc commit bbb4bf5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

yasmin_ros/CMakeLists.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,13 @@ if(BUILD_TESTING)
8585
foreach(_test_name ${_pytest_tests})
8686
ament_add_pytest_test(${_test_name} test/${_test_name}.py)
8787
ament_add_gtest(${_test_name}_cpp test/${_test_name}.cpp)
88-
target_link_libraries(${_test_name}_cpp ${PROJECT_NAME})
89-
ament_target_dependencies(${_test_name}_cpp
90-
rclcpp
91-
rclcpp_action
92-
example_interfaces
93-
std_msgs
94-
yasmin
88+
target_link_libraries(${_test_name}_cpp
89+
${PROJECT_NAME}
90+
yasmin::yasmin
91+
rclcpp::rclcpp
92+
rclcpp_action::rclcpp_action
93+
${std_msgs_TARGETS}
94+
${example_interfaces_TARGETS}
9595
)
9696
endforeach()
9797

0 commit comments

Comments
 (0)