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

2015-12-14 Thread Brad King
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

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

2015-12-14 Thread David Gobbi
On Mon, Dec 14, 2015 at 7:48 AM, Brad King 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

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

2015-12-12 Thread David Gobbi
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