mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-21 14:03:11 -07:00
Add Protobuf
This commit is contained in:
parent
44c40e7612
commit
1f6209e638
8 changed files with 454 additions and 2 deletions
7
third-party/CMakeLists.txt
vendored
Normal file
7
third-party/CMakeLists.txt
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
find_package(PythonInterp 3 REQUIRED) # Make sure nanopb doesn't find Python 2.7 because Python 2 should just die.
|
||||
|
||||
add_subdirectory(nanopb)
|
||||
set(NANOPB_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/nanopb")
|
||||
set(NANOPB_SOURCE_DIR "${NANOPB_SOURCE_DIR}" PARENT_SCOPE)
|
||||
set(NANOPB_GENERATOR_PY "${NANOPB_SOURCE_DIR}/generator/nanopb_generator.py" PARENT_SCOPE)
|
Loading…
Add table
Add a link
Reference in a new issue