diff --git a/buildscripts/make_dependencies.bat b/buildscripts/make_dependencies.bat index fe616c5937..2ab9214d67 100644 --- a/buildscripts/make_dependencies.bat +++ b/buildscripts/make_dependencies.bat @@ -28,7 +28,7 @@ del protobuf.zip pushd protobuf-3.0.0\cmake mkdir build cd build -cmake -Dprotobuf_BUILD_TESTS=OFF .. +cmake -Dprotobuf_BUILD_TESTS=OFF -G "Visual Studio %VisualStudioVersion:~0,2%" .. msbuild /maxcpucount /p:Configuration=Release libprotoc.vcxproj call extract_includes.bat popd