Skip to content

Commit 980db2d

Browse files
committed
Add in call to ament_export_targets. (#826)
1 parent 1aa02f2 commit 980db2d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ endif()
214214
# INSTALL
215215

216216
INSTALL(TARGETS ${BTCPP_LIBRARY}
217-
EXPORT ${PROJECT_NAME}Targets
217+
EXPORT ${BTCPP_LIBRARY}Targets
218218
ARCHIVE DESTINATION ${BTCPP_LIB_DESTINATION}
219219
LIBRARY DESTINATION ${BTCPP_LIB_DESTINATION}
220220
RUNTIME DESTINATION ${BTCPP_BIN_DESTINATION}

cmake/ament_build.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,6 @@ mark_as_advanced(
3333
macro(export_btcpp_package)
3434
ament_export_include_directories(include)
3535
ament_export_libraries(${BTCPP_LIBRARY})
36+
ament_export_targets(${BTCPP_LIBRARY}Targets)
3637
ament_package()
3738
endmacro()

0 commit comments

Comments
 (0)