Oops. Call set after vsdevcmd.
This commit is contained in:
parent
7b0367da5f
commit
1ebc13df94
|
@ -115,7 +115,7 @@ def import_vs_environment():
|
|||
env_tool_args = [vcvars_path, 'x64', '&&', 'set']
|
||||
else:
|
||||
vsdevcmd_path = os.path.join(install_path, 'Common7\\Tools\\VsDevCmd.bat')
|
||||
env_tool_args = [vsdevcmd_path, '-arch=amd64', '-host_arch=amd64']
|
||||
env_tool_args = [vsdevcmd_path, '-arch=amd64', '-host_arch=amd64', '&&', 'set']
|
||||
|
||||
if version == 0:
|
||||
return None
|
||||
|
|
Loading…
Reference in New Issue