Skip to content

Commit d4c36e4

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 63c4ac7 commit d4c36e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.bat

+1-1
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)