commit | e69913ea42b18141fcd4006c8cd1777a4a2a34f2 | [log] [tgz] |
---|---|---|
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | Tue Mar 29 15:46:05 2022 +0300 |
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | Tue Mar 29 15:46:05 2022 +0300 |
tree | 57b68b42b68316da2659066a639df036c6a8a657 | |
parent | 24b0028c5646226db5c0ec7336d949b3ed15e916 [diff] |
FindNanopb.cmake: Add PROTOC_OPTIONS variable (#768)
diff --git a/extra/FindNanopb.cmake b/extra/FindNanopb.cmake index a10d794..b2f1c2d 100644 --- a/extra/FindNanopb.cmake +++ b/extra/FindNanopb.cmake
@@ -273,6 +273,7 @@ -I${CMAKE_CURRENT_BINARY_DIR} ${_nanopb_include_path} --plugin=protoc-gen-nanopb=${NANOPB_GENERATOR_PLUGIN} ${NANOPB_OPT_STRING} + ${PROTOC_OPTIONS} ${ABS_FIL} DEPENDS ${ABS_FIL} ${GENERATOR_CORE_PYTHON_SRC} ${ABS_OPT_FIL} ${NANOPB_DEPENDS}