From cc763e063cda59c6a0c9e764e2b3a80767a3d01d Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Wed, 14 Oct 2020 00:13:39 +0200 Subject: [PATCH] [libkwineffects] Clean up link targets Some can be private, some are in the wrong place, some are not needed at all. --- libkwineffects/CMakeLists.txt | 30 ++++++++---------------------- 1 file changed, 8 insertions(+), 22 deletions(-) diff --git a/libkwineffects/CMakeLists.txt b/libkwineffects/CMakeLists.txt index 7be8a13646..f30dcc910a 100644 --- a/libkwineffects/CMakeLists.txt +++ b/libkwineffects/CMakeLists.txt @@ -21,8 +21,6 @@ target_link_libraries(kwinxrenderutils Qt5::Core Qt5::Gui - Plasma::KWaylandServer - XCB::RENDER XCB::XCB XCB::XFIXES @@ -45,30 +43,18 @@ set(kwin_EFFECTSLIB_SRCS logging.cpp ) -set(kwineffects_QT_LIBS - Qt5::DBus - Qt5::Widgets - Qt5::Quick -) - -set(kwineffects_KDE_LIBS - KF5::ConfigCore - KF5::CoreAddons - KF5::WindowSystem - KF5::Declarative -) - -set(kwineffects_XCB_LIBS - XCB::XCB -) - add_library(kwineffects SHARED ${kwin_EFFECTSLIB_SRCS}) generate_export_header(kwineffects EXPORT_FILE_NAME kwineffects_export.h) target_link_libraries(kwineffects PUBLIC - ${kwineffects_QT_LIBS} - ${kwineffects_KDE_LIBS} - ${kwineffects_XCB_LIBS} + KF5::ConfigCore + KF5::CoreAddons + KF5::WindowSystem + XCB::XCB + Plasma::KWaylandServer + PRIVATE + Qt5::Quick + KF5::Declarative kwinglutils ) if (KWIN_HAVE_XRENDER_COMPOSITING)