Skip to content

Commit

Permalink
msvc: Allow building with Visual Studio Preview versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sankhesh committed Oct 3, 2023
1 parent e755af6 commit f086c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def FindLatestMSVC( quiet ):
if not quiet:
print( "Calling vswhere -latest -installationVersion" )
latest_full_v = subprocess.check_output(
[ VSWHERE_EXE, '-latest', '-property', 'installationVersion' ]
[ VSWHERE_EXE, '-latest', '-prerelease', '-property', 'installationVersion' ]
).strip().decode()
if '.' in latest_full_v:
try:
Expand Down

0 comments on commit f086c3f

Please sign in to comment.