--- CMakeLists.txt.orig 2020-10-04 09:45:37 UTC +++ CMakeLists.txt @@ -25,11 +25,11 @@ include(GtkUpdateIconCache) set(REQUIRED_QT_VERSION 5.12.0) # Find Python 3 -find_package (Python 3 COMPONENTS Interpreter) +find_package (Python3 COMPONENTS Interpreter) -if(Python_FOUND) +if(Python3_FOUND) # Find lxml Python 3 module - exec_program(${Python_EXECUTABLE} + exec_program(${Python3_EXECUTABLE} ARGS "-c \"import lxml; print(lxml.get_include())\"" RETURN_VALUE LXML_NOT_FOUND # Returns 0 or false if successful )