[CMake] Cannot include GL/glew.h in XCode 4.1

Marco Fiocco marco.fiocco at gmail.com
Thu Aug 4 05:52:05 EDT 2011


Hi,
I have a project that compiles everywhere (Linux, Windows (Visual Studio
2008), MacOS 10.7 with makefiles) apart Xcode 4.1.
It does not like
#include <GL/glew.h>

I'm sure all the paths are included with CMake (otherwise it could not
compile on other platforms). It is located in /usr/include, but even if I
write this path manually in the Xcode settings it just ignores it.
Only if I write
#include "/usr/include/GL/glew.h"

it can compile.

Is it a bug of CMake? Xcode 4.1?
I repeat that the simple makefile generator works.

Thx
Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110804/e3e131d9/attachment.htm>


More information about the CMake mailing list