diff options
Diffstat (limited to 'tools/Blender.py')
-rw-r--r-- | tools/Blender.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/Blender.py b/tools/Blender.py index 8f565174b0e..47bc5e9fa72 100644 --- a/tools/Blender.py +++ b/tools/Blender.py @@ -165,7 +165,10 @@ def setup_syslibs(lenv): if not lenv['WITH_BF_STATICOPENAL']: syslibs += Split(lenv['BF_OPENAL_LIB']) if lenv['WITH_BF_OPENMP'] and lenv['CC'] != 'icc': - syslibs += ['gomp'] + if lenv['CC'] == 'cl.exe': + syslibs += ['vcomp'] + else: + syslibs += ['gomp'] if lenv['WITH_BF_ICONV']: syslibs += Split(lenv['BF_ICONV_LIB']) if lenv['WITH_BF_OPENEXR']: |