Skip to content

Commit

Permalink
Use PB 3.20.2 due to the security fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdol committed Jan 16, 2025
1 parent 95610f1 commit b447018
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions infra/cmake/packages/ProtobufConfig.cmake
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ endfunction(_Protobuf_module_import)
function(_Protobuf_import)
# Let's use find_package here not to export unnecessary definitions
# NOTE Here we use "exact" match to avoid possible infinite loop
find_package(protobuf EXACT 3.20.1.0 QUIET)
find_package(protobuf EXACT 3.20.2.0 QUIET)

if(NOT protobuf_FOUND)
set(Protobuf_FOUND FALSE PARENT_SCOPE)
@@ -65,7 +65,7 @@ function(_Protobuf_build)
INSTALL_DIR ${EXT_OVERLAY_DIR}
BUILD_FLAGS -fPIC
EXTRA_OPTS -Dprotobuf_BUILD_TESTS=OFF -Dprotobuf_WITH_ZLIB=OFF
IDENTIFIER "3.20.1.0"
IDENTIFIER "3.20.2.0"
PKG_NAME "PROTOBUF")

endfunction(_Protobuf_build)
2 changes: 1 addition & 1 deletion infra/cmake/packages/ProtobufSourceConfig.cmake
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ function(_ProtobufSource_import)
nnas_include(OptionTools)

envoption(EXTERNAL_DOWNLOAD_SERVER "https://github.com")
envoption(PROTOBUF_URL ${EXTERNAL_DOWNLOAD_SERVER}/protocolbuffers/protobuf/archive/v3.20.1.tar.gz)
envoption(PROTOBUF_URL ${EXTERNAL_DOWNLOAD_SERVER}/protocolbuffers/protobuf/archive/v3.20.2.tar.gz)

ExternalSource_Download(PROTOBUF ${PROTOBUF_URL})

0 comments on commit b447018

Please sign in to comment.