Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update min CMake version for VS 2019 #2766

Merged
merged 1 commit into from
Jul 24, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions check_cmake.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ REM //---------- set up variable ----------
setlocal
set ROOT_DIR=%~dp0

set cmake_minversion_minmaj=" 3. 9"
set cmake_minversion_minmaj=" 3. 14"

set "cmake_version= . "

Expand Down Expand Up @@ -38,12 +38,12 @@ exit /b 0
:download_install
set /p choice="Press any key to download and install cmake (make sure to add it in path in install options)"

IF NOT EXIST %temp%\cmake-3.10.2-win64-x64.msi (
IF NOT EXIST %temp%\cmake-3.14.7-win64-x64.msi (
@echo on
powershell -command "& { iwr https://cmake.org/files/v3.10/cmake-3.10.2-win64-x64.msi -OutFile %temp%\cmake-3.10.2-win64-x64.msi }"
powershell -command "& { iwr https://cmake.org/files/v3.14/cmake-3.14.7-win64-x64.msi -OutFile %temp%\cmake-3.14.7-win64-x64.msi }"
@echo off
)

msiexec.exe /i "%temp%\cmake-3.10.2-win64-x64.msi"
msiexec.exe /i "%temp%\cmake-3.14.7-win64-x64.msi"

exit /b 1