forked from bartvdbraak/blender
parent
bfd0ceb4e0
commit
86bebb3380
@ -3,13 +3,13 @@ import subprocess
|
||||
CL_OUT = subprocess.Popen(["cl.exe"],stdout=subprocess.PIPE,stderr=subprocess.PIPE)
|
||||
CL_STDOUT, CL_STDERR = CL_OUT.communicate()
|
||||
|
||||
if CL_STDERR.find("Version 15.00.") == -1:
|
||||
VC_VERSION = '11.0'
|
||||
LCGDIR = '#../lib/windows_vc11'
|
||||
|
||||
else:
|
||||
if CL_STDERR.find("17.00.") == -1:
|
||||
VC_VERSION = '9.0'
|
||||
LCGDIR = '#../lib/windows'
|
||||
|
||||
else:
|
||||
VC_VERSION = '11.0'
|
||||
LCGDIR = '#../lib/windows_vc11'
|
||||
|
||||
LIBDIR = '${LCGDIR}'
|
||||
|
||||
|
@ -3,13 +3,13 @@ import subprocess
|
||||
CL_OUT = subprocess.Popen(["cl.exe"],stdout=subprocess.PIPE,stderr=subprocess.PIPE)
|
||||
CL_STDOUT, CL_STDERR = CL_OUT.communicate()
|
||||
|
||||
if CL_STDERR.find("Version 15.00.") == -1:
|
||||
VC_VERSION = '11.0'
|
||||
LCGDIR = '#../lib/win64_vc11'
|
||||
|
||||
else:
|
||||
if CL_STDERR.find("17.00.") == -1:
|
||||
VC_VERSION = '9.0'
|
||||
LCGDIR = '#../lib/win64'
|
||||
|
||||
else:
|
||||
VC_VERSION = '11.0'
|
||||
LCGDIR = '#../lib/win64_vc11'
|
||||
|
||||
LIBDIR = '${LCGDIR}'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user