[rkward/frameworks] /: Make some more files compile by adding dependency on KDELibs4Support (for now)
Thomas Friedrichsmeier
thomas.friedrichsmeier at ruhr-uni-bochum.de
Wed Jun 3 12:19:08 UTC 2015
Git commit e5242819dfb35fcfa1e9fcdb519680dd485b9fb4 by Thomas Friedrichsmeier.
Committed on 03/06/2015 at 12:02.
Pushed by tfry into branch 'frameworks'.
Make some more files compile by adding dependency on KDELibs4Support (for now)
M +1 -1 CMakeLists.txt
M +1 -0 rkward/dataeditor/CMakeLists.txt
M +1 -1 rkward/dialogs/CMakeLists.txt
M +1 -1 rkward/rbackend/CMakeLists.txt
M +1 -1 rkward/rbackend/rkwarddevice/CMakeLists.txt
http://commits.kde.org/rkward/e5242819dfb35fcfa1e9fcdb519680dd485b9fb4
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9002ba7..10c2089 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,7 +17,7 @@ INCLUDE(ECMInstallIcons)
INCLUDE(FeatureSummary)
FIND_PACKAGE(Qt5 5.2 CONFIG REQUIRED COMPONENTS Widgets Core Xml Network WebKit Script)
-FIND_PACKAGE(KF5 5.0 REQUIRED COMPONENTS CoreAddons DocTools I18n XmlGui TextEditor WidgetsAddons)
+FIND_PACKAGE(KF5 5.0 REQUIRED COMPONENTS CoreAddons DocTools I18n XmlGui TextEditor WidgetsAddons KDELibs4Support)
IF(FORCE_PRETTY_MAKEFILE)
SET(CMAKE_VERBOSE_MAKEFILE OFF)
diff --git a/rkward/dataeditor/CMakeLists.txt b/rkward/dataeditor/CMakeLists.txt
index 057ce20..ad40744 100644
--- a/rkward/dataeditor/CMakeLists.txt
+++ b/rkward/dataeditor/CMakeLists.txt
@@ -13,6 +13,7 @@ SET(dataeditor_STAT_SRCS
)
ADD_LIBRARY(dataeditor STATIC ${dataeditor_STAT_SRCS})
+TARGET_LINK_LIBRARIES(dataeditor Qt5::Widgets KF5::KDELibs4Support)
########### install files ###############
diff --git a/rkward/dialogs/CMakeLists.txt b/rkward/dialogs/CMakeLists.txt
index 25dbdfb..13e39c7 100644
--- a/rkward/dialogs/CMakeLists.txt
+++ b/rkward/dialogs/CMakeLists.txt
@@ -14,7 +14,7 @@ SET(dialogs_STAT_SRCS
)
ADD_LIBRARY(dialogs STATIC ${dialogs_STAT_SRCS})
-
+TARGET_LINK_LIBRARIES(dialogs Qt5::Widgets KF5::KDELibs4Support)
########### install files ###############
diff --git a/rkward/rbackend/CMakeLists.txt b/rkward/rbackend/CMakeLists.txt
index 8e90ace..58ea7c7 100644
--- a/rkward/rbackend/CMakeLists.txt
+++ b/rkward/rbackend/CMakeLists.txt
@@ -44,7 +44,7 @@ SET (
rktransmitter.cpp
)
ADD_LIBRARY(rbackend STATIC ${rbackend_FRONTEND_SRCS})
-TARGET_LINK_LIBRARIES(rbackend rkgraphicsdevice.frontend)
+TARGET_LINK_LIBRARIES(rbackend rkgraphicsdevice.frontend Qt5::Widgets)
SET (
rbackend_BACKEND_SRCS
diff --git a/rkward/rbackend/rkwarddevice/CMakeLists.txt b/rkward/rbackend/rkwarddevice/CMakeLists.txt
index c133c8a..081a0d4 100644
--- a/rkward/rbackend/rkwarddevice/CMakeLists.txt
+++ b/rkward/rbackend/rkwarddevice/CMakeLists.txt
@@ -14,6 +14,6 @@ SET (
)
ADD_LIBRARY(rkgraphicsdevice.frontend STATIC ${rkgraphicsdevice_frontend_SRCS})
-target_link_libraries(rkgraphicsdevice.frontend Qt5::Widgets Qt5::Core Qt5::Network KF5::WidgetsAddons)
+TARGET_LINK_LIBRARIES(rkgraphicsdevice.frontend Qt5::Widgets Qt5::Core Qt5::Network KF5::WidgetsAddons KF5::KDELibs4Support)
ADD_LIBRARY(rkgraphicsdevice.backend STATIC ${rkgraphicsdevice_backend_SRCS})
More information about the rkward-tracker
mailing list