Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
Signed-off-by: Pablo Garrido <pablogs9@gmail.com>
  • Loading branch information
pablogs9 committed Mar 24, 2022
1 parent 4c7ab36 commit 1889d8f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions sensor_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ if(TARGET ${cpp_target})
install(
TARGETS ${PROJECT_NAME}_library EXPORT export_${PROJECT_NAME}
)

# Export old-style CMake variables
ament_export_include_directories("include/${PROJECT_NAME}")

# Export modern CMake targets
ament_export_targets(export_${PROJECT_NAME})
endif()

if(BUILD_TESTING)
Expand All @@ -89,12 +95,6 @@ if(BUILD_TESTING)
target_link_libraries(test_sensor_msgs "${cpp_typesupport_target}")
endif()

# Export old-style CMake variables
ament_export_include_directories("include/${PROJECT_NAME}")

# Export modern CMake targets
ament_export_targets(export_${PROJECT_NAME})

ament_export_dependencies(rosidl_default_runtime)

ament_package()

0 comments on commit 1889d8f

Please sign in to comment.