Merge pull request #507 from twam/bugfix/cmake-find-package

Use Nanopb as cmake package name.
diff --git a/extra/FindNanopb.cmake b/extra/FindNanopb.cmake
index fb9e1ca..b765478 100644
--- a/extra/FindNanopb.cmake
+++ b/extra/FindNanopb.cmake
@@ -338,7 +338,7 @@
 find_package(PythonInterp REQUIRED)
 
 include(FindPackageHandleStandardArgs)
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(NANOPB DEFAULT_MSG
+find_package_handle_standard_args(Nanopb DEFAULT_MSG
   NANOPB_INCLUDE_DIRS
   NANOPB_SRCS NANOPB_HDRS
   NANOPB_GENERATOR_SOURCE_DIR