From 56c6062a81ce20fc47c6e10a3d7b1933ebdd0dac Mon Sep 17 00:00:00 2001 From: Deve Date: Sat, 4 Jun 2016 00:08:50 +0200 Subject: [PATCH] One more tweak..... --- CMakeLists.txt | 1 + lib/glew/CMakeLists.txt | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9140946e2..5afeef9f0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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") diff --git a/lib/glew/CMakeLists.txt b/lib/glew/CMakeLists.txt index 8fc0a31aa..010773992 100644 --- a/lib/glew/CMakeLists.txt +++ b/lib/glew/CMakeLists.txt @@ -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