Skip to content

Commit bdb8c44

Browse files
cblichmanncopybara-github
authored andcommitted
Update protobuf dependency, add fix for missing include dir
PiperOrigin-RevId: 745161012 Change-Id: I0360de18a4334082ed3d78a38ad163c35d26ba7a
1 parent 7e92f6a commit bdb8c44

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cmake/BinExportDeps.cmake

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ endif()
7575
# Protocol Buffers
7676
FetchContent_Declare(protobuf
7777
GIT_REPOSITORY https://github.com/protocolbuffers/protobuf.git
78-
GIT_TAG e390402c5e372de349af88ae0197c67529cf9360 # 2025-02-22
78+
GIT_TAG 5c9406bc1cf11192c5223d99e095b99b31bf076a # 2025-04-08
7979
)
8080
set(protobuf_ABSL_PROVIDER "package" CACHE STRING "" FORCE)
8181
set(protobuf_BUILD_TESTS OFF CACHE BOOL "" FORCE)
@@ -93,6 +93,9 @@ target_include_directories(utf8_validity PUBLIC
9393
"${BINEXPORT_BINARY_DIR}/src_include"
9494
"${protobuf_SOURCE_DIR}"
9595
)
96+
target_include_directories(libprotobuf PUBLIC
97+
"${protobuf_SOURCE_DIR}/third_party/utf8_range"
98+
)
9699
set(Protobuf_INCLUDE_DIR "${protobuf_SOURCE_DIR}/src" CACHE INTERNAL "")
97100
set(Protobuf_LIBRARIES protobuf::libprotobuf CACHE INTERNAL "")
98101
find_package(Protobuf 3.14 REQUIRED) # Make protobuf_generate_cpp available

0 commit comments

Comments
 (0)