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-06-06 14:41:49 +0400
committerAntony Riakiotakis <kalast@gmail.com>2012-06-06 14:41:49 +0400
commit91beb27500c7afe047cad342efc35eaca7f68517 (patch)
treea850d88e4880179bc4363480b25d2adcb4010733 /source/blender/makesrna/SConscript
parent8849a789702a9be0c06ecc850845c3bb3af0d0fd (diff)
Fix scons + smoke not working. it seems like the definition + include file are needed on the higher level dir too.
Diffstat (limited to 'source/blender/makesrna/SConscript')
-rw-r--r--source/blender/makesrna/SConscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/makesrna/SConscript b/source/blender/makesrna/SConscript
index 2bafc586a58..29910121e2a 100644
--- a/source/blender/makesrna/SConscript
+++ b/source/blender/makesrna/SConscript
@@ -11,12 +11,15 @@ incs += ' ../windowmanager ../editors/include ../gpu ../imbuf ../ikplugin ../ble
incs += ' ../render/extern/include #/intern/cycles/blender'
incs += ' ../nodes'
incs += ' #/extern/glew/include'
+incs += ' #/intern/smoke/extern'
incs += ' ../bmesh'
-
defs = []
+if env['WITH_BF_SMOKE']:
+ defs.append('WITH_SMOKE')
+
if env['WITH_BF_OPENEXR']:
defs.append('WITH_OPENEXR')