Skip to content

Commit 939b146

Browse files
committed
Pin used Visual Studio to 2017 (#250)
This commit pins the used VS to 2017. This helps with environments where multiple versions are installed. (cherry picked from commit 0522f5e)
1 parent 2e8ebd2 commit 939b146

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ REM BUILD function: build various targets
500500

501501
set CMAKE_ARGS=-DDRIVER_BASE_NAME=%DRIVER_BASE_NAME%
502502
REM no explicit x86 generator and is the default (MSVC2017 only?).
503-
set CMAKE_ARGS=!CMAKE_ARGS! -DCMAKE_GENERATOR_PLATFORM=%TARCH:x86=%
503+
set CMAKE_ARGS=!CMAKE_ARGS! -G "Visual Studio 15 2017" -DCMAKE_GENERATOR_PLATFORM=%TARCH:x86=%
504504

505505
if /i not [%ARG:curldll=%] == [%ARG%] (
506506
set CMAKE_ARGS=!CMAKE_ARGS! -DLIBCURL_LINK_MODE=dll

0 commit comments

Comments
 (0)