You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree that we should check whether it is installed first.
However, I think we should go a bit further. What I think we should actually do is to split this out into its own package (freetype_vendor), and then make rviz_ogre_vendor depend on it. That makes it clearer that this is a vendored dependency, which should make it easier to remove in the future. Would you be willing to give that a shot?
I can have a try, but to be honest, I don't know why rviz_ogre needs to compile freetype from source. Maybe a specific source version? some source code patch? or compiler switches?
I can have a try, but to be honest, I don't know why rviz_ogre needs to compile freetype from source. Maybe a specific source version? some source code patch? or compiler switches?
I'm not entirely sure, though it likely has something to do with Windows. Eventually we want to move away from vendoring these at all, and moving this to freetype_vendor is one step closer to doing that.
rviz/rviz_ogre_vendor/CMakeLists.txt
Lines 16 to 17 in 526f251
It's better to check if
Freetype
is already installed before building it from sourceMy proposed change is like this:
If it's OK then I will create a PR.
The text was updated successfully, but these errors were encountered: