summaryrefslogtreecommitdiff
blob: 5a4140c6bdbb236a4c44a190f457a4c884be85e3 (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
From 67246a4a2c52343d2805b597e48a1713b5b9918c Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Sun, 17 Jun 2018 22:05:02 +0200
Subject: [PATCH] Fix build with Qt 5.11.0_beta3 (no more qt5_use_modules)

Reviewers: rthomsen, svuorela

Reviewed By: svuorela

Differential Revision: https://phabricator.kde.org/D13545
---
 src/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index ca373fd..d01670a 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -27,6 +27,8 @@ ki18n_wrap_ui(kcmsystemd_SRCS ../ui/kcmsystemd.ui)
 
 add_library(kcm_systemd MODULE ${kcmsystemd_SRCS})
 target_link_libraries(kcm_systemd
+                      Qt5::Widgets
+                      Qt5::DBus
                       KF5::Auth
                       KF5::ConfigWidgets
                       KF5::CoreAddons
@@ -37,5 +39,3 @@ target_link_libraries(kcm_systemd
                       ${Boost_LIBRARIES}
                       ${JOURNALD_LIBRARIES})
 install(TARGETS kcm_systemd DESTINATION ${CMAKE_INSTALL_PLUGINDIR})
-
-qt5_use_modules(kcm_systemd Widgets DBus)
-- 
2.17.1