diff options
Diffstat (limited to 'source/blender/nodes/SConscript')
-rw-r--r-- | source/blender/nodes/SConscript | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/source/blender/nodes/SConscript b/source/blender/nodes/SConscript index 548f4973574..4bed612144c 100644 --- a/source/blender/nodes/SConscript +++ b/source/blender/nodes/SConscript @@ -20,19 +20,18 @@ incs += ' ' + env['BF_ZLIB_INC'] defs = [] if env['WITH_BF_PYTHON']: - incs += ' ' + env['BF_PYTHON_INC'] - incs += ' ../python' - if env['BF_DEBUG']: - defs.append('_DEBUG') -else: - defs.append('DISABLE_PYTHON') + incs += ' ' + env['BF_PYTHON_INC'] + incs += ' ../python' + defs.append('WITH_PYTHON') + if env['BF_DEBUG']: + defs.append('_DEBUG') if env['OURPLATFORM'] == 'linux2': - cflags='-pthread' - incs += ' ../../../extern/binreloc/include' + cflags='-pthread' + incs += ' ../../../extern/binreloc/include' if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'): - incs += ' ' + env['BF_PTHREADS_INC'] + incs += ' ' + env['BF_PTHREADS_INC'] env.BlenderLib ( libname = 'bf_nodes', sources = sources, includes = Split(incs), defines = defs, libtype=['core','player'], priority = [190,105] ) env.BlenderLib ( libname = 'bf_cmpnodes', sources = cmpsources, includes = Split(incs), defines = defs, libtype=['core','player'], priority = [175,101] ) |