diff --git a/FindNanopb.cmake b/FindNanopb.cmake new file mode 100644 index 0000000..d036384 --- /dev/null +++ b/FindNanopb.cmake @@ -0,0 +1,8 @@ +include("GenericFindDependency") +option(nanopb_BUILD_GENERATOR "" OFF) +GenericFindDependency( + TARGET protobuf-nanopb + SOURCE_DIR "third_party/nanopb" + SYSTEM_INCLUDES + ) +