Skip to content

Commit

Permalink
Export libraries to trigger hooks. (#358)
Browse files Browse the repository at this point in the history
* Export libraries to trigger hooks.

* Use HAS_LIBRARY_TARGET with ament_export_interfaces.

Replaces ament_export_libraries with the HAS_LIBRARY_TARGET option for
ament_export_interfaces.
  • Loading branch information
nuclearsandwich authored and wjwwood committed Oct 11, 2018
1 parent 9eb7964 commit 3fc5e3f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions rviz_common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ ament_export_dependencies(
tf2_ros
)
ament_export_include_directories(include)
ament_export_libraries(rviz_common)

install(
TARGETS rviz_common
Expand Down
2 changes: 1 addition & 1 deletion rviz_default_plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ ament_target_dependencies(rviz_default_plugins
)

ament_export_include_directories(include)
ament_export_interfaces(rviz_default_plugins)
ament_export_interfaces(rviz_default_plugins HAS_LIBRARY_TARGET)
ament_export_dependencies(
Qt5
rviz_common
Expand Down
1 change: 1 addition & 0 deletions rviz_rendering/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ ament_export_dependencies(
ament_index_cpp)

ament_export_include_directories(include)
ament_export_libraries(rviz_rendering)

install(
TARGETS rviz_rendering
Expand Down

0 comments on commit 3fc5e3f

Please sign in to comment.