err fix mac build

This commit is contained in:
Brad Hefta-Gaub 2014-01-11 21:55:08 -08:00
parent 776f0e4585
commit 6e363e4aae

View file

@ -28,10 +28,10 @@ if (APPLE)
set(GL_HEADERS "#include <GLUT/glut.h>\n#include <OpenGL/glext.h>")
endif (APPLE)
if (UNIX)
if (UNIX AND NOT APPLE)
# include the right GL headers for UNIX
set(GL_HEADERS "#include <GL/gl.h>\n#include <GL/glut.h>\n#include <GL/glext.h>")
endif (UNIX)
endif (UNIX AND NOT APPLE)
if (WIN32)
#set(GLUT_ROOT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/external/glut)