One more tweak.....

This commit is contained in:
Deve 2016-06-04 00:08:50 +02:00
parent d60d9120b4
commit 56c6062a81
2 changed files with 1 additions and 1 deletions

View File

@ -68,6 +68,7 @@ add_subdirectory("${PROJECT_SOURCE_DIR}/lib/enet")
include_directories("${PROJECT_SOURCE_DIR}/lib/enet/include")
# Build glew library
add_definitions(-DGLEW_NO_GLU)
add_subdirectory("${PROJECT_SOURCE_DIR}/lib/glew")
include_directories("${PROJECT_SOURCE_DIR}/lib/glew/include")

View File

@ -11,7 +11,6 @@ find_package(OpenGL REQUIRED)
include_directories(${OPENGL_INCLUDE_DIR})
add_definitions(-DGLEW_STATIC)
add_definitions(-DGLEW_NO_GLU)
add_library(glew STATIC
include/GL/glew.h include/GL/glxew.h include/GL/wglew.h