diff options
Diffstat (limited to 'source/blender/gpu/SConscript')
-rw-r--r-- | source/blender/gpu/SConscript | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/gpu/SConscript b/source/blender/gpu/SConscript index 9f59dd4cf47..4f1cdc2ce76 100644 --- a/source/blender/gpu/SConscript +++ b/source/blender/gpu/SConscript @@ -5,9 +5,12 @@ sources = env.Glob('intern/*.c') defs = [ 'GLEW_STATIC' ] -incs = '../blenlib ../blenkernel ../makesdna ../include ../bmesh' +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] ) |