Skip to content

Commit f9c2461

Browse files
authored
Export dependency on ament_index_cpp (#362)
To make dependent packages try to link ament_index_cpp, export the dependency explicitly.
1 parent 178a626 commit f9c2461

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ endif()
230230
if(ament_cmake_FOUND)
231231
find_package(ament_index_cpp REQUIRED)
232232
ament_target_dependencies(${BEHAVIOR_TREE_LIBRARY} PUBLIC ament_index_cpp)
233+
ament_export_dependencies(ament_index_cpp)
233234

234235
set( BEHAVIOR_TREE_LIB_DESTINATION lib )
235236
set( BEHAVIOR_TREE_INC_DESTINATION include )

0 commit comments

Comments
 (0)