change export order for static linking (#216)

This commit is contained in:
Dirk Thomas 2018-03-22 16:26:33 -07:00 committed by GitHub
parent 5fa1b0e0d9
commit bad0f55416
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 11 deletions

View file

@ -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(