Oops. Call set after vsdevcmd.

This commit is contained in:
gibbed 2019-08-17 08:26:31 -05:00 committed by Rick Gibbed
parent 7b0367da5f
commit 1ebc13df94
1 changed files with 1 additions and 1 deletions

View File

@ -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