Same mingw fix as for compile

This commit is contained in:
Nathan Letwory 2012-04-28 06:28:07 +00:00
parent dc313ff00d
commit 09dc600839
1 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,8 @@ if builder.find('scons') != -1:
scons_options.append('BF_BITNESS=' + bitness)
scons_options.append('WITH_BF_CYCLES_CUDA_BINARIES=True')
scons_options.append('BF_CYCLES_CUDA_NVCC=nvcc.exe')
if builder.find('mingw') != -1:
scons_options.append('BF_TOOLSET=mingw')
retcode = subprocess.call(['python', 'scons/scons.py'] + scons_options)
sys.exit(retcode)