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.
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.
For consistency with
GAZEBO_PLUGIN_PATH
,GAZEBO_MODEL_PATH
andGAZEBO_RESOURCE_PATH
that were converted withTO_CMAKE_PATH
in https://github.com/osrf/gazebo/pull/3132, this PR also convertsOGRE_RESOURCE_PATH
withTO_CMAKE_PATH
.Problem spotted in https://github.com/conda-forge/gazebo-feedstock/issues/112 .