[cmake-developers] [PATCH] FindOpenGL: Don't add AGL to OPENGL_LIBRARIES on OS X.

David Gobbi david.gobbi at gmail.com
Sat Dec 12 14:12:32 EST 2015


CMake had been setting OPENGL_glu_LIBRARY to AGL.framework, even
though AGL is not GLU.  AGL is simply the GL component for the
deprecated Carbon framework.  GLU is provided by OpenGL.framework.

A side effect of the old behavior was that if AGL was not found
(it is absent from OS X SDK 10.10 or later), then OPENGL_GLU_FOUND
would be incorrectly set to "NO".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20151212/eb34e7b5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-FindOpenGL-Don-t-add-AGL-to-OPENGL_LIBRARIES-on-OS-X.patch
Type: application/octet-stream
Size: 1887 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20151212/eb34e7b5/attachment.obj>


More information about the cmake-developers mailing list