summaryrefslogtreecommitdiff
path: root/kde-apps/ark/files/ark-23.08.1-cmake.patch
blob: 5bdf0af814359badb104ef0306ac895cb47821dc (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
From 149271d3e341eea531405191ff1002fda86fdf84 Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Thu, 14 Sep 2023 15:53:36 +0200
Subject: [PATCH] Drop unused ItemModels dependency

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
(cherry picked from commit 9343567be9f895cbe5e290f88c9a933db34cdd95)
---
 CMakeLists.txt      | 1 -
 part/CMakeLists.txt | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 510adbc5..764cce99 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -40,7 +40,6 @@ find_package(KF${QT_MAJOR_VERSION} ${KF_MIN_VERSION} REQUIRED COMPONENTS Config
                                                         DBusAddons
                                                         DocTools
                                                         I18n
-                                                        ItemModels
                                                         KIO
                                                         Service
                                                         Parts
diff --git a/part/CMakeLists.txt b/part/CMakeLists.txt
index c4c96972..d760f78a 100644
--- a/part/CMakeLists.txt
+++ b/part/CMakeLists.txt
@@ -26,7 +26,7 @@ ki18n_wrap_ui(arkpart
     jobtracker.ui)
 
 
-target_link_libraries(arkpart kerfuffle KF${QT_MAJOR_VERSION}::Parts KF${QT_MAJOR_VERSION}::KIOFileWidgets KF${QT_MAJOR_VERSION}::ItemModels)
+target_link_libraries(arkpart kerfuffle KF${QT_MAJOR_VERSION}::Parts KF${QT_MAJOR_VERSION}::KIOFileWidgets)
 
 if(QT_MAJOR_VERSION STREQUAL "5")
     configure_file(
-- 
2.42.0