gazebosim / gazebo-classic

Gazebo classic. For the latest version, see https://github.com/gazebosim/gz-sim
http://classic.gazebosim.org/
Other
1.21k stars 484 forks source link

Convert OGRE_RESOURCE_PATH with TO_CMAKE_PATH #3165

Closed traversaro closed 2 years ago

traversaro commented 2 years ago

For consistency with GAZEBO_PLUGIN_PATH, GAZEBO_MODEL_PATH and GAZEBO_RESOURCE_PATH that were converted with TO_CMAKE_PATH in https://github.com/osrf/gazebo/pull/3132, this PR also converts OGRE_RESOURCE_PATH with TO_CMAKE_PATH.

Problem spotted in https://github.com/conda-forge/gazebo-feedstock/issues/112 .

traversaro commented 2 years ago

fyi @Ace314159

traversaro commented 2 years ago

Note that it could make more sense to use the variable TO_NATIVE_PATH in setup.bat and TO_CMAKE_PATH in C++ files, but as this is working fine this PR just ensure consistencies.