FindOpenGL does not adequately support providing a separate GLU library
This is related to issue #556 (closed).
I ran into this issue after creating a Conan package for the Mesa GLU library. Incorporating such a package with FindOpenGL
is impossible since the package's unique include directory is not picked up by the FindOpenGL
module which leads to a missing include. It seems that either the FindOpenGL
module should not include GLU at all or have better flexibility for incorporating a GLU library which uses a separate include directory. If the module searched explicitly for GL/glu.h
relative to the GLU library, it could add the necessary include directory.
Edited by Jordan Williams