mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-20 22:31:23 +01:00
Fix version selector for VSWHERE'
Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr>
This commit is contained in:
parent
c023404a03
commit
4da8181372
@ -37,10 +37,11 @@ rem VS_VERSION {140 | 150 | 160 | 170}
|
||||
if "%1"=="" goto usage
|
||||
|
||||
rem -version ^^[16.0^^,17.0^^)
|
||||
set VS_VERSION=vs%1
|
||||
rem should be set "VSWHERE='%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe -property installationPath -version ^[16.0^,17.0^)'"
|
||||
|
||||
set VS_VERSION=vs%1
|
||||
if %VS_VERSION%==vs170 (
|
||||
set "VSWHERE='C:\PROGRA~2\"Microsoft Visual Studio"\Installer\vswhere.exe -latest -property installationPath -version ^[16.0^,17.0^)'"
|
||||
set "VSWHERE='C:\PROGRA~2\"Microsoft Visual Studio"\Installer\vswhere.exe -latest -property installationPath -version ^[17.0^,18.0^)'"
|
||||
) else (
|
||||
if %VS_VERSION%==vs160 (
|
||||
set "VSWHERE='C:\PROGRA~2\"Microsoft Visual Studio"\Installer\vswhere.exe -latest -property installationPath -version ^[16.0^,17.0^)'"
|
||||
|
Loading…
x
Reference in New Issue
Block a user