We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0d93f8 commit 39f0e36Copy full SHA for 39f0e36
configure.bat
@@ -102,11 +102,21 @@ if not ERRORLEVEL 1 (
102
set CMAKEOPT=Visual Studio 16 2019
103
)
104
) else (
105
- set VSVER=2017
106
- if /i "%Platform%" == "x64" (
107
- set CMAKEOPT=Visual Studio 15 2017 Win64
+ echo %QT_INSTALL_PREFIX% | find "msvc2017" >NUL
+ if not ERRORLEVEL 1 (
+ set VSVER=2017
108
+ if /i "%Platform%" == "x64" (
109
+ set CMAKEOPT=Visual Studio 15 2017 Win64
110
+ ) else (
111
+ set CMAKEOPT=Visual Studio 15 2017
112
+ )
113
- set CMAKEOPT=Visual Studio 15 2017
114
+ set VSVER=2015
115
116
+ set CMAKEOPT=Visual Studio 14 2015 Win64
117
118
+ set CMAKEOPT=Visual Studio 14 2015
119
120
121
122
0 commit comments