Open flabrosse opened 3 years ago
/usr/lib64/OGRE/cmake/FindOGRE.cmake
Looks like cmake added support for the libX
paths in 3.12 that was previously not supported.
Paths with lib/
are enabled if the CMAKE_LIBRARY_ARCHITECTURE variable is set. lib* includes one or more of the values lib64, lib32, libx32 or lib (searched in that order).
If I'm not wrong, we are injecting the values hardcoded so I think it's fine to patch gazebo-config.cmake to accept the paths listed in the cmake 3.12 page if CMAKE_LIBRARY_ARCHITECTURE
variable is set.
First, I'm not sure whose "fault" this is, gazebo's, ogre's or gentoo's. Just trying to figure out.
Versions:
I'm trying to fix some ROS packages for gentoo so that gazebo can be used again in ROS on gentoo.
gazebo_ros
fails to install because when it uses gazebo'sgazebo-config.cmake
, it complains of not being able to findFindOGRE.cmake
. On gentoo, the file is here:This location is not added to the variable CMAKE_MODULE_PATH by gazebo in
gazebo-config.cmake
. If I add it manually:then all is fine.
It could be a problem with OGRE or gazebo, or could be fixed in the gentoo packages (of either). I'm happy to submit bugs/create patches but I would appreciate it if someone could tell me which is the correct approach.
Thanks.