summaryrefslogtreecommitdiff
path: root/kde-apps/knavalbattle/files/knavalbattle-21.12.3-missing-link.patch
blob: 113e0d6faee666aa57b772d710e34c42747ba3eb (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
From 63c07ef82dabaa44f91d36921576abcce664d052 Mon Sep 17 00:00:00 2001
From: Nicolas Fella <nicolas.fella@gmx.de>
Date: Sun, 20 Mar 2022 16:06:46 +0100
Subject: [PATCH] Add missing KCoreAddons dep

---
 CMakeLists.txt     | 1 +
 src/CMakeLists.txt | 1 +
 2 files changed, 2 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7b0441c..8ed4a8d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -28,6 +28,7 @@ find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONEN
 find_package(Qt${QT_MAJOR_VERSION}QuickWidgets ${REQUIRED_QT_VERSION} CONFIG)
 
 find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
+  CoreAddons
   Config
   Crash
   DBusAddons
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 50843ab..2d65420 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -61,6 +61,7 @@ ecm_add_app_icon(knavalbattle ICONS ${ICONS_SRCS})
 target_link_libraries(knavalbattle
     Qt5::Xml
     Qt5::Network
+    KF5::CoreAddons
     KF5::I18n
     KF5::XmlGui
     KF5::Completion
-- 
GitLab