mirror of
https://github.com/lubosz/overte.git
synced 2025-04-16 06:16:18 +02:00
err fix mac build
This commit is contained in:
parent
776f0e4585
commit
6e363e4aae
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue