diff options
Diffstat (limited to 'kde-plasma/breeze-gtk/files/breeze-gtk-5.16.5-cmake-pre-3.16.patch')
-rw-r--r-- | kde-plasma/breeze-gtk/files/breeze-gtk-5.16.5-cmake-pre-3.16.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/kde-plasma/breeze-gtk/files/breeze-gtk-5.16.5-cmake-pre-3.16.patch b/kde-plasma/breeze-gtk/files/breeze-gtk-5.16.5-cmake-pre-3.16.patch new file mode 100644 index 000000000000..cbf8693731ec --- /dev/null +++ b/kde-plasma/breeze-gtk/files/breeze-gtk-5.16.5-cmake-pre-3.16.patch @@ -0,0 +1,16 @@ +Thanks-to: Arfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com> + +--- a/cmake/FindPythonCairo.cmake ++++ b/cmake/FindPythonCairo.cmake +@@ -1,10 +1,4 @@ +-if(CMAKE_VERSION VERSION_LESS 3.12.0) +- find_package(PythonInterp 3 REQUIRED) +- # PythonInterp sets PYTHON_EXECUTABLE +-else() +- find_package(Python3 COMPONENTS Interpreter REQUIRED) +- set(PYTHON_EXECUTABLE "${Python3_EXECUTABLE}") +-endif() ++find_package(PythonInterp 3 REQUIRED) + + # Check for python cairo + execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "import cairo" |