change export order for static linking (#216)
This commit is contained in:
parent
5fa1b0e0d9
commit
bad0f55416
2 changed files with 16 additions and 11 deletions
|
@ -40,9 +40,10 @@ add_library(
|
|||
rcl_lifecycle
|
||||
${rcl_lifecycle_sources})
|
||||
|
||||
# specific order: dependents before dependencies
|
||||
ament_target_dependencies(rcl_lifecycle
|
||||
"lifecycle_msgs"
|
||||
"rcl"
|
||||
"lifecycle_msgs"
|
||||
"rcutils"
|
||||
)
|
||||
|
||||
|
@ -94,10 +95,13 @@ if(BUILD_TESTING)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
ament_export_dependencies(ament_cmake)
|
||||
ament_export_dependencies(lifecycle_msgs)
|
||||
# specific order: dependents before dependencies
|
||||
ament_export_include_directories(include)
|
||||
ament_export_libraries(${PROJECT_NAME})
|
||||
ament_export_dependencies(ament_cmake)
|
||||
ament_export_dependencies(rcl)
|
||||
ament_export_dependencies(lifecycle_msgs)
|
||||
ament_export_dependencies(rcutils)
|
||||
ament_package()
|
||||
|
||||
install(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue