From 1807265813e1e0400dc34d0ab2b06be607e4c5f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= <mgraesslin@kde.org>
Date: Wed, 31 Jul 2013 14:07:58 +0200
Subject: [PATCH] KDebug moved to KDE4Support

Adjust target link libraries.
---
 clients/oxygen/CMakeLists.txt  | 1 +
 libkdecorations/CMakeLists.txt | 2 +-
 libkwineffects/CMakeLists.txt  | 4 ++--
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/clients/oxygen/CMakeLists.txt b/clients/oxygen/CMakeLists.txt
index 32aca0efb7..eabe032e3b 100644
--- a/clients/oxygen/CMakeLists.txt
+++ b/clients/oxygen/CMakeLists.txt
@@ -30,6 +30,7 @@ target_link_libraries(
     KF5::KWidgets
     KF5::KWindowSystem
     ${KDE4_KDEUI_LIBRARY} # KStyle
+    ${KDE4Support_LIBRARIES} # kdebug
     ${Qt5Widgets_LIBRARIES}
     ${Qt5X11Extras_LIBRARIES}
     ${X11_X11_LIB}
diff --git a/libkdecorations/CMakeLists.txt b/libkdecorations/CMakeLists.txt
index 0e38b8fd6a..dfbb263843 100644
--- a/libkdecorations/CMakeLists.txt
+++ b/libkdecorations/CMakeLists.txt
@@ -12,7 +12,7 @@ kde4_add_library(kdecorations SHARED ${kdecorations_LIB_SRCS})
 target_link_libraries(kdecorations
     ${Qt5Widgets_LIBRARIES}
     ${Qt5X11Extras_LIBRARIES}
-    ${KDE4_KDECORE_LIBRARY} # kdebug
+    ${KDE4Support_LIBRARIES} # kdebug
     ${KDE4_KDEUI_LIBRARY} # KGlobalSettings::windowTitleFont
     KF5::KConfigCore
     KF5::KI18n
diff --git a/libkwineffects/CMakeLists.txt b/libkwineffects/CMakeLists.txt
index a02c1a3172..43d7a5ce61 100644
--- a/libkwineffects/CMakeLists.txt
+++ b/libkwineffects/CMakeLists.txt
@@ -17,7 +17,7 @@ set(kwineffects_QT_LIBS
 
 set(kwineffects_KDE_LIBS
     KF5::XmlGui # needed for KShortcutEditor
-    ${KDE4_KDECORE_LIBS} # needed for KDebug
+    ${KDE4Support_LIBRARIES} # needed for KDebug
 )
 
 set(kwineffects_XLIB_LIBS
@@ -60,7 +60,7 @@ macro( KWIN4_ADD_GLUTILS_BACKEND name glinclude )
         include_directories(${OPENGLES_EGL_INCLUDE_DIR})
     endif()
     kde4_add_library(${name} SHARED ${kwin_GLUTILSLIB_SRCS})
-    target_link_libraries(${name} ${KDE4_KDECORE_LIBS} ${kwineffects_QT_LIBS} ${kwineffects_XLIB_LIBS} ${kwineffects_XCB_LIBS} kwineffects)
+    target_link_libraries(${name} ${KDE4Support_LIBRARIES} ${kwineffects_QT_LIBS} ${kwineffects_XLIB_LIBS} ${kwineffects_XCB_LIBS} kwineffects)
     if(OPENGL_EGL_FOUND)
         target_link_libraries(${name} ${OPENGLES_EGL_LIBRARY})
     endif()