This commit is contained in:
ZappoMan 2014-12-16 12:15:57 -08:00
parent ee34dfffc1
commit 1ed2c62bbf
2 changed files with 4 additions and 1 deletions

View file

@ -24,6 +24,9 @@ else (APPLE)
find_package(GLEW REQUIRED)
include_directories(${GLEW_INCLUDE_DIRS})
find_package(GLUT REQUIRED)
include_directories(SYSTEM "${GLUT_INCLUDE_DIRS}")
# we're using static GLEW, so define GLEW_STATIC
add_definitions(-DGLEW_STATIC)
target_link_libraries(${TARGET_NAME} "${GLEW_LIBRARIES}")

View file

@ -17,7 +17,7 @@
#if defined(__APPLE__)
#include <GLUT/glut.h>
#elif defined(WIN32)
// nothing?
#include <GL/glut.h>
#else
#include <GL/glut.h>
#endif