You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating interface libraries that depend on other packages ament explicitly doesn't add necessary build dependencies to the target or export target. If you target_link_libraries against an interface library depending on other packages you will get build errors. I am curious why the if(NOT ARG_INTERFACE) checks are needed? If you remove them the generated targets as well as cmake exports work properly and carry the associated dependencies.
When creating interface libraries that depend on other packages ament explicitly doesn't add necessary build dependencies to the target or export target. If you
target_link_libraries
against an interface library depending on other packages you will get build errors. I am curious why theif(NOT ARG_INTERFACE)
checks are needed? If you remove them the generated targets as well as cmake exports work properly and carry the associated dependencies.ament_cmake/ament_cmake_target_dependencies/cmake/ament_target_dependencies.cmake
Lines 127 to 157 in 3f305a3
The text was updated successfully, but these errors were encountered: