1. OpenSourceRoboticsFoundation
  2. Simulation
  3. gazebo
  4. Pull requests

Pull requests

#2372 Merged
Repository
guiccbr
Branch
cmake-model-path
Repository
osrf
Branch
default

Add GAZEBO_MODEL_PATH to config.cmake.in

Author
  1. Guilherme Campos Camargo
Reviewers
Description

The GAZEBO_PLUGIN_PATH and GAZEBO_MODEL_PATH variables are very useful for the installation of custom plugins. Currently only GAZEBO_PLUGIN_PATH is available through find_package(gazebo) on cmake. With this change, GAZEBO_MODEL_PATH is also made available, allowing custom models to be installed easily in the default model path with the following cmake command:

install(DIRECTORY my_models/ DESTINATION ${GAZEBO_MODEL_PATH})

Comments (0)