ament_target_dependencies vs target_link_libraries
In the tutorial for adding dependencies, it mentions
Sometimes it will be necessary to call the target_link_libaries CMake function
What are the situations where I should use ament_target_dependencies
and when should I use target_link_libraries
? I also notice that there are occasions where I need both for the dependencies to be correctly added.