Skip to content

Commit e33d236

Browse files
authored
Export includes (#290)
Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
1 parent 8f96799 commit e33d236

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pluginlib/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ install(TARGETS list_plugins
4343

4444
ament_export_dependencies(ament_index_cpp class_loader rcutils rcpputils TinyXML2)
4545

46+
# Export old-style CMake variables
47+
ament_export_include_directories("include/${PROJECT_NAME}")
48+
49+
# Export modern CMake targets
4650
ament_export_targets(export_${PROJECT_NAME})
4751

4852
install(

0 commit comments

Comments
 (0)