diff --git a/nav2_behavior_tree/CMakeLists.txt b/nav2_behavior_tree/CMakeLists.txt index 944ca7bce4..f82e70dc8b 100644 --- a/nav2_behavior_tree/CMakeLists.txt +++ b/nav2_behavior_tree/CMakeLists.txt @@ -223,6 +223,10 @@ install(DIRECTORY include/ DESTINATION include/ ) +install(DIRECTORY test/utils/ + DESTINATION include/utils/ +) + install(FILES nav2_tree_nodes.xml DESTINATION share/${PROJECT_NAME}) if(BUILD_TESTING) diff --git a/nav2_behavior_tree/test/CMakeLists.txt b/nav2_behavior_tree/test/CMakeLists.txt index 42b00f50d6..43696b1614 100644 --- a/nav2_behavior_tree/test/CMakeLists.txt +++ b/nav2_behavior_tree/test/CMakeLists.txt @@ -7,8 +7,3 @@ add_subdirectory(plugins/condition) add_subdirectory(plugins/decorator) add_subdirectory(plugins/control) add_subdirectory(plugins/action) - -install(DIRECTORY utils - DESTINATION include/) - -ament_export_include_directories(utils)