Skip to content

Commit fe76c51

Browse files
committed
BuildBin.vs2017.cmd: Make it build with VS2017 even in the environment where VS2019 is installed
--HG-- branch : 3way-diff-gplv2
1 parent 08690b5 commit fe76c51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BuildBin.vs2017.cmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ del /s Build\*.exe
44
del /s BuildTmp\*.res
55

66
setlocal
7-
for /f "usebackq tokens=*" %%i in (`"%programfiles(x86)%\microsoft visual studio\installer\vswhere.exe" -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath`) do (
7+
for /f "usebackq tokens=*" %%i in (`"%programfiles(x86)%\microsoft visual studio\installer\vswhere.exe" -version [15.0^,16.0^) -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath`) do (
88
set InstallDir=%%i
99
)
1010
if exist "%InstallDir%\Common7\Tools\vsdevcmd.bat" (

0 commit comments

Comments
 (0)