diff --git a/leo_gz_plugins/CMakeLists.txt b/leo_gz_plugins/CMakeLists.txt index 0bcefe7..5a172fc 100644 --- a/leo_gz_plugins/CMakeLists.txt +++ b/leo_gz_plugins/CMakeLists.txt @@ -63,6 +63,7 @@ if(BUILD_TESTING) ament_lint_auto_find_test_dependencies() endif() +ament_environment_hooks("${CMAKE_CURRENT_SOURCE_DIR}/hooks/gz_sim_system_plugin_path.sh") ament_environment_hooks("${CMAKE_CURRENT_SOURCE_DIR}/hooks/gz_sim_system_plugin_path.dsv") ament_package() diff --git a/leo_gz_plugins/hooks/gz_sim_system_plugin_path.sh b/leo_gz_plugins/hooks/gz_sim_system_plugin_path.sh new file mode 100644 index 0000000..e69de29 diff --git a/leo_gz_worlds/CMakeLists.txt b/leo_gz_worlds/CMakeLists.txt index a447add..145afd0 100644 --- a/leo_gz_worlds/CMakeLists.txt +++ b/leo_gz_worlds/CMakeLists.txt @@ -19,6 +19,7 @@ if(BUILD_TESTING) ament_lint_auto_find_test_dependencies() endif() +ament_environment_hooks("${CMAKE_CURRENT_SOURCE_DIR}/hooks/gz_sim_resource_path.sh") ament_environment_hooks("${CMAKE_CURRENT_SOURCE_DIR}/hooks/gz_sim_resource_path.dsv.in") ament_package() diff --git a/leo_gz_worlds/hooks/gz_sim_resource_path.sh b/leo_gz_worlds/hooks/gz_sim_resource_path.sh new file mode 100644 index 0000000..e69de29