blob: 9fc7b41035b3d5b9c491a1587d6cf931f8c85346 (
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
From 1bb60d3eda5bc68e12b340bbbd4b4c4d296da603 Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Tue, 19 Sep 2023 15:46:55 +0200
Subject: [PATCH 1/2] Drop unused KCompletion dependency
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
---
CMakeLists.txt | 1 -
src/CMakeLists.txt | 1 -
2 files changed, 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index faa4260e..09ee0fab 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -48,7 +48,6 @@ find_package(
JobWidgets
KIO
Crash
- Completion
WidgetsAddons
Wallet
Notifications
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 112d97f7..fd0b9571 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -91,7 +91,6 @@ target_link_libraries(
KF5::KIOCore
KF5::KIOGui
KF5::Crash
- KF5::Completion
KF5::WindowSystem
Qt::DBus
Qt::Concurrent
--
2.42.0
From e2b9f7f3b1227d5cc4612d890c199a4864f217df Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Tue, 19 Sep 2023 16:00:59 +0200
Subject: [PATCH 2/2] Don't build tests if not requested
This is copied from src/tests/CMakeLists.txt
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
---
src/bugzillaintegration/libbugzilla/autotests/CMakeLists.txt | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/bugzillaintegration/libbugzilla/autotests/CMakeLists.txt b/src/bugzillaintegration/libbugzilla/autotests/CMakeLists.txt
index cd1d3b6c..2d44ae76 100644
--- a/src/bugzillaintegration/libbugzilla/autotests/CMakeLists.txt
+++ b/src/bugzillaintegration/libbugzilla/autotests/CMakeLists.txt
@@ -1,3 +1,8 @@
+if(NOT BUILD_TESTING)
+ # Skip everything. Particularly trying to look for integration test deps.
+ return()
+endif()
+
remove_definitions(-DQT_NO_CAST_FROM_ASCII)
include(ECMAddTests)
--
2.42.0
|