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/SConscript
parentd20c129a9cef276dd7d54c3cd03a6e4cfb024cfa (diff)
classic compile error: GLEW_STATIC needs to be define when we use opengl functions
Diffstat (limited to 'source/blender/python/SConscript')
-rw-r--r--source/blender/python/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/SConscript b/source/blender/python/SConscript
index a79138f9eb5..012bc279cfb 100644
--- a/source/blender/python/SConscript
+++ b/source/blender/python/SConscript
@@ -18,7 +18,7 @@ sources = env.Glob('bmesh/*.c')
env.BlenderLib( libname = 'bf_python_bmesh', sources = Split(sources), includes = Split(incs), defines = defs, libtype = ['core','player'], priority = [362,165])
# generic
-defs = []
+defs = ['GLEW_STATIC']
if is_debug:
defs.append('_DEBUG')