Skip to content

Commit

Permalink
Merge pull request #17 from MaximilienNaveau/topic/mnaveau/humble-dev…
Browse files Browse the repository at this point in the history
…el/packaging

Fix packaging of the conversion library
  • Loading branch information
MaximilienNaveau authored Oct 25, 2024
2 parents d96545f + 4bd18b1 commit a98c7ee
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,21 @@ endif()
#
install(
TARGETS ${PROJECT_NAME}_conversion
EXPORT ${TARGETS_EXPORT_NAME}
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
EXPORT export_${PROJECT_NAME}
LIBRARY DESTINATION $[CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)
install(FILES package.xml DESTINATION share/${PROJECT_NAME})
install(
DIRECTORY include/${PROJECT_NAME}
DESTINATION include
PATTERN "third_party" EXCLUDE)

ament_export_targets(export_${PROJECT_NAME} HAS_LIBRARY_TARGET)
ament_export_dependencies(rosidl_default_runtime)
ament_export_dependencies(eigen3_cmake_module)
ament_export_dependencies(Eigen3)
ament_export_dependencies(tf2_eigen)

ament_package()

0 comments on commit a98c7ee

Please sign in to comment.