r45338 added multithreaded OpenEXR loading. Path to pthread was missing.
authorNathan Letwory <nathan@letworyinteractive.com>
Tue, 3 Apr 2012 05:23:23 +0000 (05:23 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Tue, 3 Apr 2012 05:23:23 +0000 (05:23 +0000)
source/blender/imbuf/intern/openexr/SConscript

index 082bb82c3220271470e18a6f3f4351eddba378c0..e590077db2bf400ddd2f04ef67ff711ff7365117 100644 (file)
@@ -15,4 +15,7 @@ incs += Split(env['BF_OPENEXR_INC'])
 
 defs = ['WITH_OPENEXR']
 
+if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
+    incs.append(env['BF_PTHREADS_INC'])
+
 env.BlenderLib ('bf_imbuf_openexr', source_files, incs, defs, libtype=['core','player'], priority = [225,180])