aboutsummaryrefslogblamecommitdiff
path: root/x11-themes/kf5-breeze-icons/files/patch-CMakeLists.txt
blob: 9b86365f18b05d4cb793f03c35de1eaa9d8ce88f (plain) (tree)
1
2
3
4
5
6
7
8
9
                                               
                  
                                               
                                




                                               



                                                                   


                                       
                                                                                     

                                                                       
--- 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
     )