Skip to content

Commit

Permalink
Update nanopb to 0.4.9 and remove now-unnecessary hack from proto/CMa…
Browse files Browse the repository at this point in the history
…keLists.txt
  • Loading branch information
ivmaykov committed Nov 19, 2024
1 parent c02b929 commit 1de1fba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion core/nanopb
Submodule nanopb updated 185 files
3 changes: 0 additions & 3 deletions core/proto/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ set(protos
"${CMAKE_CURRENT_LIST_DIR}/squareup/subzero/service.proto"
)

# The next 2 lines are needed to build with nanopb 0.4.5. Can be removed if we update to 0.4.7.
set(NANOPB_GENERATE_CPP_APPEND_PATH FALSE)
set(NANOPB_OPTIONS "-I${CMAKE_CURRENT_LIST_DIR}/")
nanopb_generate_cpp(PROTO_SRCS PROTO_HDRS ${protos} RELPATH ${CMAKE_CURRENT_SOURCE_DIR})
include_directories(${CMAKE_CURRENT_BINARY_DIR})
set_source_files_properties(${PROTO_SRCS} ${PROTO_HDRS}
Expand Down

0 comments on commit 1de1fba

Please sign in to comment.