gnu: plasma-framework: Fix build errors in dependent packages.
[jackhill/guix/guix.git] / gnu / packages / patches / plasma-framework-fix-KF5PlasmaMacros.cmake.patch
1 From ff5ed26f21d304e867ab57781878069567deb23d Mon Sep 17 00:00:00 2001
2 From: Hartmut Goebel <h.goebel@crazy-compilers.com>
3 Date: Mon, 3 Aug 2020 19:49:58 +0000
4 Subject: [PATCH] Fix build errors if PREFIX is different from ECM's PREFIX.
5
6 See <https://bugs.kde.org/424483> for details
7 ---
8 KF5PlasmaMacros.cmake | 3 +--
9 1 file changed, 1 insertion(+), 2 deletions(-)
10
11 diff --git a/KF5PlasmaMacros.cmake b/KF5PlasmaMacros.cmake
12 index 494b42d56..80b3fd8dd 100644
13 --- a/KF5PlasmaMacros.cmake
14 +++ b/KF5PlasmaMacros.cmake
15 @@ -1,6 +1,5 @@
16
17 -find_package(ECM 1.6.0 CONFIG REQUIRED)
18 -include(${ECM_KDE_MODULE_DIR}/KDEInstallDirs.cmake)
19 +include(KDEInstallDirs)
20
21 set(PLASMA_RELATIVE_DATA_INSTALL_DIR "plasma")
22 set(PLASMA_DATA_INSTALL_DIR "${KDE_INSTALL_DATADIR}/${PLASMA_RELATIVE_DATA_INSTALL_DIR}")
23 --
24 GitLab
25