Package: kde-workspace / 4:4.11.13-2

fix_target_link_libraries.diff Patch series | download
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
From: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Subject: Fix target link libraries
Forwarded: not-needed
Last-Update: 2012-01-30
Index: kde-workspace/libs/kworkspace/CMakeLists.txt
===================================================================
--- kde-workspace.orig/libs/kworkspace/CMakeLists.txt	2013-09-27 09:22:10.182383595 +0000
+++ kde-workspace/libs/kworkspace/CMakeLists.txt	2013-09-27 09:22:10.174383908 +0000
@@ -51,6 +51,7 @@
 kde4_add_library(kworkspace SHARED ${kworkspace_LIB_SRCS})
 
 target_link_libraries(kworkspace  ${KDE4_KDEUI_LIBS} ${X11_LIBRARIES} ${KDE4_PLASMA_LIBS} )
+target_link_libraries(kworkspace  LINK_INTERFACE_LIBRARIES ${KDE4_KDEUI_LIBRARY} )
 
 set_target_properties(kworkspace PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} DEFINE_SYMBOL MAKE_KWORKSPACE_LIB)
 install(TARGETS kworkspace EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} )
Index: kde-workspace/libs/taskmanager/CMakeLists.txt
===================================================================
--- kde-workspace.orig/libs/taskmanager/CMakeLists.txt	2013-09-27 09:22:10.182383595 +0000
+++ kde-workspace/libs/taskmanager/CMakeLists.txt	2013-09-27 09:22:10.174383908 +0000
@@ -51,6 +51,7 @@
     target_link_libraries(taskmanager kephal)
  endif (NOT KDE_PLATFORM_FEATURE_BINARY_COMPATIBLE_FEATURE_REDUCTION)
 
+target_link_libraries(taskmanager LINK_INTERFACE_LIBRARIES ${QT_QTGUI_LIBRARY} )
 set_target_properties(taskmanager PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
 install(TARGETS taskmanager EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} )