Skip to content

Commit

Permalink
Add in call to ament_export_targets. (#826)
Browse files Browse the repository at this point in the history
  • Loading branch information
facontidavide committed May 21, 2024
1 parent 1aa02f2 commit 980db2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ endif()
# INSTALL

INSTALL(TARGETS ${BTCPP_LIBRARY}
EXPORT ${PROJECT_NAME}Targets
EXPORT ${BTCPP_LIBRARY}Targets
ARCHIVE DESTINATION ${BTCPP_LIB_DESTINATION}
LIBRARY DESTINATION ${BTCPP_LIB_DESTINATION}
RUNTIME DESTINATION ${BTCPP_BIN_DESTINATION}
Expand Down
1 change: 1 addition & 0 deletions cmake/ament_build.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@ mark_as_advanced(
macro(export_btcpp_package)
ament_export_include_directories(include)
ament_export_libraries(${BTCPP_LIBRARY})
ament_export_targets(${BTCPP_LIBRARY}Targets)
ament_package()
endmacro()

0 comments on commit 980db2d

Please sign in to comment.