[cmake-developers] [PATCH] FindOpenGL: Don't add AGL to OPENGL_LIBRARIES on OS X.
David Gobbi
david.gobbi at gmail.com
Mon Dec 14 09:56:30 EST 2015
On Mon, Dec 14, 2015 at 7:48 AM, Brad King <brad.king at kitware.com> wrote:
> On 12/12/2015 02:12 PM, David Gobbi wrote:
> > 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".
>
> Thanks. I'm not familiar with those roles myself so I've long wondered
> why we used AGL for GLU. Applied:
>
> FindOpenGL: Don't add AGL to OPENGL_LIBRARIES on OS X.
> https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=08580be2
Carbon + AGL are like x11 + glx and Windows + wgl.
Thanks for the quick reply.
- David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20151214/ccadfecf/attachment.html>
More information about the cmake-developers
mailing list