Skip to content

Commit

Permalink
Add environment hooks for plugins path (#136)
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Della Vedova <[email protected]>
  • Loading branch information
luca-della-vedova authored Sep 25, 2024
1 parent 97d120d commit 9e0e5b7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rmf_building_sim_gz_plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ find_package(Qt5
)
find_package(menge_vendor REQUIRED)

ament_environment_hooks("${CMAKE_CURRENT_SOURCE_DIR}/hooks/${PROJECT_NAME}.dsv.in")

include(GNUInstallDirs)

###############################
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
prepend-non-duplicate;GZ_SIM_SYSTEM_PLUGIN_PATH;lib/rmf_building_sim_gz_plugins/
prepend-non-duplicate;GZ_GUI_PLUGIN_PATH;lib/rmf_building_sim_gz_plugins/
2 changes: 2 additions & 0 deletions rmf_robot_sim_gz_plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ find_package (Qt5
REQUIRED
)

ament_environment_hooks("${CMAKE_CURRENT_SOURCE_DIR}/hooks/${PROJECT_NAME}.dsv.in")

include(GNUInstallDirs)

###############################
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
prepend-non-duplicate;GZ_SIM_SYSTEM_PLUGIN_PATH;lib/rmf_robot_sim_gz_plugins/
prepend-non-duplicate;GZ_GUI_PLUGIN_PATH;lib/rmf_robot_sim_gz_plugins/

0 comments on commit 9e0e5b7

Please sign in to comment.