Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wilkins <Jason.A.Wilkins@gmail.com>2014-10-08 00:46:19 +0400
committerJason Wilkins <Jason.A.Wilkins@gmail.com>2014-10-08 00:47:32 +0400
commit8d084e8c8f48dd2f07d4a3fbd4a941a7bcc0dcfb (patch)
tree5bf15f4f74f3e5a307cfa3f734b2cd086dca69bd /extern/glew/CMakeLists.txt
parenta8705e99ee8ec9de2f25c3bac1e9895c2f98c224 (diff)
Ghost Context Refactor
https://developer.blender.org/D643 Separates graphics context creation from window code in Ghost so that they can vary separately.
Diffstat (limited to 'extern/glew/CMakeLists.txt')
-rw-r--r--extern/glew/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/extern/glew/CMakeLists.txt b/extern/glew/CMakeLists.txt
index 34f6707398d..f264b3905be 100644
--- a/extern/glew/CMakeLists.txt
+++ b/extern/glew/CMakeLists.txt
@@ -45,6 +45,10 @@ set(SRC
include/GL/wglew.h
)
-add_definitions(-DGLEW_STATIC)
+add_definitions(${GL_DEFINITIONS})
+
+if(WITH_GLEW_MX)
+ add_definitions(-DGLEW_MX)
+endif()
blender_add_lib(extern_glew "${SRC}" "${INC}" "${INC_SYS}")