Skip to content

Commit 0522f5e

Browse files
authored
Pin used Visual Studio to 2017 (#250)
This commit pins the used VS to 2017. This helps with environments where multiple versions are installed.
1 parent 8b320e3 commit 0522f5e

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
@@ -508,7 +508,7 @@ REM BUILD function: build various targets
508508

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

513513
if /i [!BUILD_TYPE!] == [Debug] (
514514
set CMAKE_ARGS=!CMAKE_ARGS! -DLIBCURL_BUILD_TYPE=debug

0 commit comments

Comments
 (0)