Skip to content

Commit

Permalink
Link and compile against rosbag2_storage_mcap: Fixed issue 1492
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
  • Loading branch information
ahcorde committed Nov 14, 2023
1 parent d6030c4 commit 06ef74e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion rosbag2_storage_mcap/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ install(
RUNTIME DESTINATION bin
)

install(
DIRECTORY include/
DESTINATION include/${PROJECT_NAME}
)

if(BUILD_TESTING)
find_package(ament_cmake_gmock REQUIRED)
find_package(ament_lint_auto REQUIRED)
Expand Down Expand Up @@ -118,6 +123,7 @@ endif()

ament_export_libraries(${PROJECT_NAME})
ament_export_targets(export_${PROJECT_NAME})
ament_export_dependencies(rosbag2_storage rcutils)
ament_export_dependencies(mcap_vendor pluginlib rosbag2_storage rcutils)
ament_export_include_directories("include/${PROJECT_NAME}")

ament_package()

0 comments on commit 06ef74e

Please sign in to comment.