fix for scons with recent change to how BINRELOC is enabled via cmake.

also add WITH_PYTHON define to qtcreator project generator until we get a way to add them properly.
This commit is contained in:
2011-02-25 14:45:45 +00:00
parent 2cf20fde1b
commit e06eea4fba
4 changed files with 6 additions and 8 deletions

View File

@@ -7,11 +7,12 @@ cflags=''
incs = '. ../makesdna ../blenkernel #/intern/guardedalloc #/intern/ghost ../editors/include ../gpu ../blenloader'
incs += ' ' + env['BF_FREETYPE_INC']
incs += ' ' + env['BF_ZLIB_INC']
defs = ''
defs = []
if env['OURPLATFORM'] == 'linux2':
if env['WITH_BF_BINRELOC']:
cflags='-pthread'
incs += ' ../../../extern/binreloc/include'
defs.append('WITH_BINRELOC')
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
incs += ' ' + env['BF_PTHREADS_INC']