Skip to content
This repository was archived by the owner on Nov 30, 2022. It is now read-only.

Commit a88c9e4

Browse files
committed
Install mcap headers in include/${PROJECT_NAME}/mcap and export them
Signed-off-by: Michael Orlov <[email protected]>
1 parent 70a96c8 commit a88c9e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mcap_vendor/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ macro(build_mcap_vendor)
5252

5353
install(
5454
DIRECTORY ${_mcap_include_dir}/mcap
55-
DESTINATION ${CMAKE_INSTALL_PREFIX}/include
55+
DESTINATION include/${PROJECT_NAME}
5656
)
5757

5858
install(TARGETS ${PROJECT_NAME} EXPORT ${PROJECT_NAME})
@@ -61,7 +61,7 @@ endmacro()
6161
## Call vendor macro
6262
build_mcap_vendor()
6363

64-
ament_export_include_directories(${_mcap_include_dir})
64+
ament_export_include_directories(include/${PROJECT_NAME})
6565
ament_export_libraries(${PROJECT_NAME})
6666
ament_export_targets(${PROJECT_NAME} HAS_LIBRARY_TARGET)
6767
ament_export_dependencies(zstd_vendor zstd)

0 commit comments

Comments
 (0)