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 0c109c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ 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 0c109c4

Please sign in to comment.