[CMake] Why is FindOpenGL in Mac looking for OpenGL/gl.h??
Fernando Cacciola
fernando.cacciola at gmail.com
Thu Aug 28 15:00:38 EDT 2008
Mike Jackson wrote:
> Which version of Qt are you using? Qt 4.x is only officially supported
> on the native window system (Quartz/Carbon) NOT X11. Qt 3.x _may_ run
> under X11 on OS X so I don't know.
>
We still use Qt 3.x as a matter of fact.
> If some one new to OS X just did a locate on gl.h then they may have
> found the wrong gl.h, or they really are running your project as an X11
> application (non native window environment on OS X).
>
Our users will run whatever Qt is generating.. it could be an X11 app in
the case of Qt 3.x, I don't know.
Btw, my user reported that "OpenGl/gl.h" does in fact compile,
so it seems we'll fix it at the header file side via an __APPLE__ guard.
Best
Fernando
More information about the CMake
mailing list