diff --git a/CMakeLists.txt b/CMakeLists.txt index 0519caec..d2ecf69b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -115,7 +115,7 @@ else() endif() # Generate source from the bindings file -find_package(PythonInterp REQUIRED) +find_package(PythonInterp 3 REQUIRED) if(GENERATE_TEMPLATE_GET_NODE) set(GENERATE_BINDING_PARAMETERS "True") else()