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

List:       kde-commits
Subject:    [kcalc/frameworks] /: KF5 port completed: link to required frameworks
From:       Christoph Feck <christoph () maxiom ! de>
Date:       2014-09-30 22:05:37
Message-ID: E1XZ5Y9-0003kV-RM () scm ! kde ! org
[Download RAW message or body]

Git commit 91a77cd1bf2da5966fd1a018c3f9eed75f1790f3 by Christoph Feck.
Committed on 24/09/2014 at 23:34.
Pushed by cfeck into branch 'frameworks'.

KF5 port completed: link to required frameworks

M  +18   -2    CMakeLists.txt

http://commits.kde.org/kcalc/91a77cd1bf2da5966fd1a018c3f9eed75f1790f3

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 719a815..3b55b91 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,8 +20,14 @@ find_package (Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMP=
ONENTS
 )
 =

 find_package(KF5 REQUIRED COMPONENTS
+    Config
+    ConfigWidgets
     DocTools
-    KDELibs4Support
+    GuiAddons
+    I18n
+    Init
+    Notifications
+    XmlGui
 )
 =

 add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
@@ -87,7 +93,17 @@ kconfig_add_kcfg_files(kcalc_KDEINIT_SRCS kcalc_settings=
.kcfgc )
 =

 kf5_add_kdeinit_executable( kcalc ${kcalc_KDEINIT_SRCS})
 =

-target_link_libraries(kdeinit_kcalc Qt5::Widgets KF5::KDELibs4Support ${GM=
P_LIBRARIES} ${MPFR_LIBRARIES})
+target_link_libraries(kdeinit_kcalc
+    Qt5::Core
+    Qt5::Widgets
+    KF5::ConfigWidgets
+    KF5::GuiAddons
+    KF5::I18n
+    KF5::Notifications
+    KF5::XmlGui
+    ${GMP_LIBRARIES}
+    ${MPFR_LIBRARIES}
+)
 =

 install(TARGETS kdeinit_kcalc ${INSTALL_TARGETS_DEFAULT_ARGS})
 =


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

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