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:
Diffstat (limited to 'source/blender/gpu/SConscript')
-rw-r--r--source/blender/gpu/SConscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/gpu/SConscript b/source/blender/gpu/SConscript
index ee4491c1c77..181af6bb1d4 100644
--- a/source/blender/gpu/SConscript
+++ b/source/blender/gpu/SConscript
@@ -13,6 +13,7 @@ if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
incs += ' ' + env['BF_OPENGL_INC']
-defs.append('WITH_SMOKE') # TODO, make optional
+if env['WITH_BF_SMOKE']:
+ defs.append('WITH_SMOKE')
env.BlenderLib ( 'bf_gpu', sources, Split(incs), defines = defs, libtype=['core','player'], priority=[160,110] )