diff --git a/ament_cmake_target_dependencies/cmake/ament_target_dependencies.cmake b/ament_cmake_target_dependencies/cmake/ament_target_dependencies.cmake index 50bb69c7..0614a5a1 100644 --- a/ament_cmake_target_dependencies/cmake/ament_target_dependencies.cmake +++ b/ament_cmake_target_dependencies/cmake/ament_target_dependencies.cmake @@ -31,6 +31,10 @@ # with a SYSTEM keyword, followed by an INTERFACE or PUBLIC keyword. # If it starts with a SYSTEM keyword, it will be used in # target_include_directories() calls. +# Do not use the SYSTEM keyword for other ROS dependencies +# (targets build in a ROS workspace, to be precise), +# as build errors could arise when overlaying workspaces. +# See `here `_ for details. # If it starts (or follows) with an INTERFACE or PUBLIC keyword, # this keyword will be used in the target_*() calls. # :type ARGN: list of strings