diff --git a/FindNanopb.cmake b/FindNanopb.cmake index ed94fe2..95f7bf3 100644 --- a/FindNanopb.cmake +++ b/FindNanopb.cmake @@ -12,6 +12,7 @@ include("GenericFindDependency") option(nanopb_BUILD_GENERATOR "" OFF) +option(NANOPB_PROTOC_OLDER_THAN_3_6_0 "" ON) GenericFindDependency( TARGET protobuf-nanopb SOURCE_DIR "nanopb"