[CMake] Why is FindOpenGL in Mac looking for OpenGL/gl.h??

Fernando Cacciola fernando.cacciola at gmail.com
Thu Aug 28 08:51:39 EDT 2008


Fernando Cacciola wrote:
> Mike Jackson wrote:
>> The header is located in a framework called OpenGL.framework and the 
>> include
>> style for frameworks is the name of the framework (minus the 
>> extension) and
>> then the header file, so on OS X the proper include would be:
>> #include <OpenGL/gl.h>
>>
Hmmm, google says you are right.. there are tons of posts stating that 
it is OpenGL/gl.h and not GL/gl.h under OS X.


Best

Fernando Cacciola



More information about the CMake mailing list