diff --git a/leo_gz_plugins/CMakeLists.txt b/leo_gz_plugins/CMakeLists.txt index dc3225b..535120b 100644 --- a/leo_gz_plugins/CMakeLists.txt +++ b/leo_gz_plugins/CMakeLists.txt @@ -33,6 +33,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..5cac686 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.dsv.in") +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") ament_package() diff --git a/leo_gz_worlds/hooks/gz_sim_resource_path.dsv.in b/leo_gz_worlds/hooks/gz_sim_resource_path.dsv similarity index 100% rename from leo_gz_worlds/hooks/gz_sim_resource_path.dsv.in rename to leo_gz_worlds/hooks/gz_sim_resource_path.dsv 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