forked from bartvdbraak/blender
Fixing Scons compile on Windows:
*Missed PTHREAD declaration.
This commit is contained in:
parent
5aed24c84e
commit
22d4b02087
@ -8,6 +8,9 @@ defs = [ 'GLEW_STATIC' ]
|
||||
incs = '../blenlib ../blenkernel ../makesdna ../include'
|
||||
incs += ' #/extern/glew/include #intern/guardedalloc #intern/smoke/extern ../imbuf .'
|
||||
|
||||
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
|
||||
incs += ' ' + env['BF_PTHREADS_INC']
|
||||
|
||||
incs += ' ' + env['BF_OPENGL_INC']
|
||||
|
||||
env.BlenderLib ( 'bf_gpu', sources, Split(incs), defines = defs, libtype=['core','player'], priority=[160,110] )
|
||||
|
@ -40,4 +40,7 @@ if env['BF_BUILDINFO']:
|
||||
defs.append('BUILD_DATE')
|
||||
defs.append('NAN_BUILDINFO')
|
||||
|
||||
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
|
||||
incs += ' ' + env['BF_PTHREADS_INC']
|
||||
|
||||
env.BlenderLib ( libname = 'bf_creator', sources = Split(sources), includes = Split(incs), defines = defs, libtype='core', priority = 0 )
|
||||
|
Loading…
Reference in New Issue
Block a user