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





                                               



                                                                   





                                                                       
--- CMakeLists.txt.orig	2020-11-07 11:32:04 UTC
+++ CMakeLists.txt
@@ -25,13 +25,13 @@ include(GtkUpdateIconCache)
 set(REQUIRED_QT_VERSION 5.12.0)
 
 # 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; print(lxml.get_include())\""
         RETURN_VALUE LXML_NOT_FOUND # Returns 0 or false if successful
     )