Merge pull request #508 from twam/bugfix/remote-find-python
CMake: remove find_package(PythonInterp)
diff --git a/extra/FindNanopb.cmake b/extra/FindNanopb.cmake
index 3e1a763..620eb68 100644
--- a/extra/FindNanopb.cmake
+++ b/extra/FindNanopb.cmake
@@ -336,7 +336,7 @@
mark_as_advanced(NANOPB_GENERATOR_SOURCE_DIR)
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