bump protobuf to 3.10.0
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
Protobuf=3.8.0
|
||||
Protobuf=3.10.0
|
||||
gflags=2.2.2
|
||||
glog=0.4.0
|
||||
Cbc=2.10.3
|
||||
|
||||
@@ -102,7 +102,7 @@ if(BUILD_Protobuf)
|
||||
REPOSITORY
|
||||
"https://github.com/protocolbuffers/protobuf.git"
|
||||
TAG
|
||||
"v3.8.0"
|
||||
"v3.10.0"
|
||||
CMAKE_ARGS
|
||||
"SOURCE_SUBDIR cmake"
|
||||
)
|
||||
|
||||
@@ -21,7 +21,7 @@ PROTOC_BINARY := $(shell $(WHICH) ${UNIX_PROTOC_BINARY})
|
||||
# Tags of dependencies to checkout.
|
||||
GFLAGS_TAG = 2.2.2
|
||||
GLOG_TAG = 0.4.0
|
||||
PROTOBUF_TAG = 3.9.0
|
||||
PROTOBUF_TAG = 3.10.0
|
||||
ABSL_TAG = bf29470
|
||||
CBC_TAG = 2.10.3
|
||||
CGL_TAG = 0.60.2
|
||||
|
||||
@@ -37,7 +37,7 @@ ZLIB_TAG = 1.2.11
|
||||
ZLIB_ARCHIVE_TAG = 1211
|
||||
GFLAGS_TAG = 2.2.2
|
||||
GLOG_TAG = 0.4.0
|
||||
PROTOBUF_TAG = 3.9.0
|
||||
PROTOBUF_TAG = 3.10.0
|
||||
ABSL_TAG = bf29470
|
||||
CBC_TAG = 2.10.3
|
||||
CGL_TAG = 0.60.2
|
||||
|
||||
@@ -91,6 +91,6 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Google.Protobuf" Version="3.9.0" />
|
||||
<PackageReference Include="Google.Protobuf" Version="3.10.0" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
@@ -91,6 +91,6 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Google.Protobuf" Version="3.9.0" />
|
||||
<PackageReference Include="Google.Protobuf" Version="3.10.0" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
@@ -87,6 +87,6 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Google.Protobuf" Version="3.9.0" />
|
||||
<PackageReference Include="Google.Protobuf" Version="3.10.0" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
13
patches/protobuf-3.10.0.patch
Normal file
13
patches/protobuf-3.10.0.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
|
||||
index 71a0f37a..bbb749d3 100644
|
||||
--- a/cmake/CMakeLists.txt
|
||||
+++ b/cmake/CMakeLists.txt
|
||||
@@ -40,7 +40,7 @@ else (BUILD_SHARED_LIBS)
|
||||
endif (BUILD_SHARED_LIBS)
|
||||
option(protobuf_BUILD_SHARED_LIBS "Build Shared Libraries" ${protobuf_BUILD_SHARED_LIBS_DEFAULT})
|
||||
include(CMakeDependentOption)
|
||||
-cmake_dependent_option(protobuf_MSVC_STATIC_RUNTIME "Link static runtime libraries" ON
|
||||
+cmake_dependent_option(protobuf_MSVC_STATIC_RUNTIME "Link static runtime libraries" OFF
|
||||
"NOT protobuf_BUILD_SHARED_LIBS" OFF)
|
||||
set(protobuf_WITH_ZLIB_DEFAULT ON)
|
||||
option(protobuf_WITH_ZLIB "Build with zlib support" ${protobuf_WITH_ZLIB_DEFAULT})
|
||||
Reference in New Issue
Block a user