--- CMakeLists.txt.orig 2022-01-01 17:39:49 UTC +++ CMakeLists.txt @@ -26,13 +26,13 @@ include(GtkUpdateIconCache) set(REQUIRED_QT_VERSION 5.15.2) # Find Python 3 -find_package (Python 3 COMPONENTS Interpreter) +find_package (Python3 COMPONENTS Interpreter) # FIXME: This is a temporary solution to unbreak KDE's Windows CI. # Remove "NOT WIN32" when icon generation works on Windows. -if(Python_FOUND AND NOT WIN32) +if(Python3_FOUND AND NOT WIN32) # Find lxml Python 3 module - exec_program(${Python_EXECUTABLE} + exec_program(${Python3_EXECUTABLE} ARGS "-c \"import lxml; from lxml import etree; print(lxml.get_include())\"" RETURN_VALUE LXML_NOT_FOUND # Returns 0 or false if successful )