File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ for /f "tokens=4 delims=\" %%a in ("%VCINSTALLDIR%") do (
5151for /f " tokens=1 delims=." %%a in (" %VisualStudioVersion% " ) do (
5252 SET visual_studio_major_version = %%a
5353)
54- cmake -Dprotobuf_BUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=%cd% \protobuf-%PROTOBUF_VER% -DCMAKE_PREFIX_PATH=%cd% \protobuf-%PROTOBUF_VER% -G " Visual Studio %visual_studio_major_version% %VC_YEAR% " %CMAKE_VSARCH% .. || exit /b 1
54+ cmake -DABSL_MSVC_STATIC_RUNTIME=ON - Dprotobuf_BUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=%cd% \protobuf-%PROTOBUF_VER% -DCMAKE_PREFIX_PATH=%cd% \protobuf-%PROTOBUF_VER% -G " Visual Studio %visual_studio_major_version% %VC_YEAR% " %CMAKE_VSARCH% .. || exit /b 1
5555cmake --build . --config Release --target install || exit /b 1
5656popd
5757goto :eof
You can’t perform that action at this time.
0 commit comments