diff --git a/cmake/FDBComponents.cmake b/cmake/FDBComponents.cmake index fe5fe91026..02f0aa2a16 100644 --- a/cmake/FDBComponents.cmake +++ b/cmake/FDBComponents.cmake @@ -57,7 +57,7 @@ endif() ################################################################################ find_package(Python3 COMPONENTS Interpreter) -if(Python_Interpreter_FOUND) +if(Python3_Interpreter_FOUND) set(WITH_PYTHON ON) else() message(WARNING "Could not found a suitable python interpreter")