mirror of
https://github.com/overte-org/overte.git
synced 2025-08-05 01:59:59 +02:00
try this
This commit is contained in:
parent
ee34dfffc1
commit
1ed2c62bbf
2 changed files with 4 additions and 1 deletions
|
@ -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}")
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue