Force using VS2013 for building
This commit is contained in:
parent
b3c76f3904
commit
25e15869ec
2 changed files with 4 additions and 1 deletions
|
@ -44,6 +44,8 @@ def run_gyp(target_arch, component):
|
|||
env = os.environ.copy()
|
||||
if PLATFORM == 'linux' and target_arch != get_host_arch():
|
||||
env['GYP_CROSSCOMPILE'] = '1'
|
||||
elif PLATFORM == 'win32':
|
||||
env['GYP_MSVS_VERSION'] = '2013'
|
||||
python = sys.executable
|
||||
if sys.platform == 'cygwin':
|
||||
# Force using win32 python on cygwin.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue