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:
authorAntony Riakiotakis <kalast@gmail.com>2012-05-09 13:49:24 +0400
committerAntony Riakiotakis <kalast@gmail.com>2012-05-09 13:49:24 +0400
commitce45c004a3a80c6f30efda6bd14db49d9d571052 (patch)
treed9c22dd95e6256defe10c5796ace994ad4e2a949 /source/blender/python/generic/CMakeLists.txt
parentd20c129a9cef276dd7d54c3cd03a6e4cfb024cfa (diff)
classic compile error: GLEW_STATIC needs to be define when we use opengl functions
Diffstat (limited to 'source/blender/python/generic/CMakeLists.txt')
-rw-r--r--source/blender/python/generic/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/generic/CMakeLists.txt b/source/blender/python/generic/CMakeLists.txt
index 9a73911d697..eb8bd694231 100644
--- a/source/blender/python/generic/CMakeLists.txt
+++ b/source/blender/python/generic/CMakeLists.txt
@@ -46,4 +46,6 @@ set(SRC
py_capi_utils.h
)
+add_definitions(-DGLEW_STATIC)
+
blender_add_lib(bf_python_ext "${SRC}" "${INC}" "${INC_SYS}")