Skip to content

Commit

Permalink
Allow crashpad to search for build tools
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskr97 committed Oct 10, 2021
1 parent 7ebdfbd commit ff76b8e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def autodetect():
'Microsoft Visual Studio', 'Installer', 'vswhere.exe')
if os.path.exists(vswhere_path):
installation_path = subprocess.check_output(
[vswhere_path, '-latest', '-property', 'installationPath']).strip()
[vswhere_path, '-products', '*' ,'-latest', '-property', 'installationPath']).strip()
if installation_path:
return (installation_path,
os.path.join('VC', 'Auxiliary', 'Build', 'vcvarsall.bat'))
Expand Down

0 comments on commit ff76b8e

Please sign in to comment.