[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [systemd-kcm] src: Fix build with Qt 5.11.0_beta3 (no more qt5_use_modules)
From:       Andreas Sturmlechner <null () kde ! org>
Date:       2018-06-17 20:05:31
Message-ID: E1fUdvX-0002gl-Gz () code ! kde ! org
[Download RAW message or body]

Git commit 67246a4a2c52343d2805b597e48a1713b5b9918c by Andreas Sturmlechner.
Committed on 17/06/2018 at 20:05.
Pushed by asturmlechner into branch 'master'.

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

M  +2    -2    src/CMakeLists.txt

https://commits.kde.org/systemd-kcm/67246a4a2c52343d2805b597e48a1713b5b9918c

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)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic