Fix second part #32377: saving/loading exr files to file paths with non-ascii
[blender.git] / source / blender / imbuf / intern / openexr / SConscript
index 082bb82c3220271470e18a6f3f4351eddba378c0..a6c5ad984e2f14b644bcb6caf01d89a82ce03eaa 100644 (file)
@@ -10,9 +10,14 @@ incs = ['.',
     '../../../blenlib',
     'intern/include',
     '#/intern/guardedalloc',
-    '../../../makesdna']
+    '../../../makesdna',
+    '#/intern/utfconv']
+
 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])