cmake: make glut a soft dependency
1 unresolved thread
1 unresolved thread
Compare changes
Files
2+ 19
− 17
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
The migration is almost done, at least the rest should happen in the background. There are still a few technical difference between the old cluster and the new ones, and they are summarized in this issue. Please pay attention to the TL:DR at the end of the comment.
There's parts of the tree that is useful even without GLUT, so let's allow building those without requiring GLUT. But let's emit a warning so users have a chance to understand why they get such a stripped-down build.
This is especially useful on Windows, where GLUT is a bit of an exotic dependency.
This gets us a bit closer to what we're doing with autotools.