blob: a03238f57864c43d9b2f8cca4743141e450091c4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- CMakeLists.txt.orig 2021-04-03 09:27:50 UTC
+++ CMakeLists.txt
@@ -26,13 +26,13 @@ include(GtkUpdateIconCache)
set(REQUIRED_QT_VERSION 5.14.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; from lxml import etree; print(lxml.get_include())\""
RETURN_VALUE LXML_NOT_FOUND # Returns 0 or false if successful
)
|