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

List:       kde-commits
Subject:    [kst-plot] cmake/modules: Fix configure with Qt-5.11.0_beta3 (no more qt5_use_modules)
From:       Andreas Sturmlechner <null () kde ! org>
Date:       2018-06-14 7:52:02
Message-ID: E1fTN34-0004hm-Tf () code ! kde ! org
[Download RAW message or body]

Git commit de3110c598743e025a38f8fe9857232a62477c0b by Andreas Sturmlechner.
Committed on 14/06/2018 at 07:51.
Pushed by asturmlechner into branch 'master'.

Fix configure with Qt-5.11.0_beta3 (no more qt5_use_modules)

Reviewers: netterfield, #kde_edu, apol

Reviewed By: apol

Subscribers: netterfield, kde-edu

Tags: #kde_edu

Differential Revision: https://phabricator.kde.org/D13489

M  +1    -1    cmake/modules/KstMacros.cmake

https://commits.kde.org/kst-plot/de3110c598743e025a38f8fe9857232a62477c0b

diff --git a/cmake/modules/KstMacros.cmake b/cmake/modules/KstMacros.cmake
index 676d5731..95848f20 100644
--- a/cmake/modules/KstMacros.cmake
+++ b/cmake/modules/KstMacros.cmake
@@ -240,7 +240,7 @@ endmacro()
 macro(kst_link)
 	target_link_libraries(${kst_name} ${ARGV})
 	if(kst_qt5)
-                qt5_use_modules(${kst_name} Widgets Xml Network PrintSuppo=
rt Svg)
+                target_link_libraries(${kst_name} Qt5::Widgets Qt5::Xml Qt=
5::Network Qt5::PrintSupport Qt5::Svg)
 	else()
 		target_link_libraries(${kst_name}
 		${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTXML_LIBRARY} ${QT_QTSVG_=
LIBRARY} ${QT_QTNETWORK_LIBRARY})
[prev in list] [next in list] [prev in thread] [next in thread] 

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