Added pthread include for windows scons
authorTon Roosendaal <ton@blender.org>
Mon, 12 Jan 2009 19:14:33 +0000 (19:14 +0000)
committerTon Roosendaal <ton@blender.org>
Mon, 12 Jan 2009 19:14:33 +0000 (19:14 +0000)
source/blender/blenkernel/SConscript

index a6b7120d72a7b2dc30cacab0719e46858b710d59..aae4addd71ee713a6897fe2c80f68b324ce3d184 100644 (file)
@@ -49,4 +49,7 @@ if env['WITH_BF_QUICKTIME']:
 if env['BF_NO_ELBEEM']:
     defs += ' DISABLE_ELBEEM'
 
+if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross'):
+    incs += ' ' + env['BF_PTHREADS_INC']
+
 env.BlenderLib ( libname = 'bf_blenkernel', sources = sources, includes = Split(incs), defines = Split(defs), libtype=['core'], priority = [155] )