summaryrefslogtreecommitdiff
path: root/kde-apps/calendarjanitor/files/calendarjanitor-24.05.2-loggingcategory.patch
blob: e9796c334280476258c274436365a7be9950539b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
From 1c10a1418a063d625dce2fc1a5714b82f9cee728 Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Mon, 12 Aug 2024 16:02:27 +0200
Subject: [PATCH] Move ecm_qt_install_logging_categories to konsolekalendar
 subdir

None is declared in calendarjanitor.

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
---
 CMakeLists.txt                 | 6 ------
 konsolekalendar/CMakeLists.txt | 5 +++++
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index d887d81..f79b923 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -79,12 +79,6 @@ endif()
 add_subdirectory(calendarjanitor)
 add_subdirectory(konsolekalendar)
 
-ecm_qt_install_logging_categories(
-        EXPORT AKONADICALENDARTOOLS
-        FILE console.categories
-        DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}
-        )
-
 add_subdirectory(doc)
 kde_configure_git_pre_commit_hook(CHECKS CLANG_FORMAT)
 ki18n_install(po)
diff --git a/konsolekalendar/CMakeLists.txt b/konsolekalendar/CMakeLists.txt
index c0b0eab..7e90f6c 100644
--- a/konsolekalendar/CMakeLists.txt
+++ b/konsolekalendar/CMakeLists.txt
@@ -44,6 +44,11 @@ target_link_libraries(konsolekalendar
 
 install(TARGETS konsolekalendar  ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
 
+ecm_qt_install_logging_categories(
+        EXPORT AKONADICALENDARTOOLS
+        FILE console.categories
+        DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}
+        )
 
 ########### install files ###############
 
-- 
2.45.2