[kwin/kcms] Only link KCMUtils where needed

In some KCMs we don't use anything from KCMUtils but just KCModule
which is in ConfigWidgets.
This commit is contained in:
Martin Gräßlin 2014-03-18 07:41:30 +01:00
parent 2fad6dbf46
commit 8e4f8f0d9c
3 changed files with 4 additions and 3 deletions

View file

@ -29,8 +29,8 @@ target_link_libraries(kcm_kwindecoration
Qt5::DBus
Qt5::Quick
Qt5::UiTools
KF5::KCMUtils
KF5::Completion
KF5::ConfigWidgets
KF5::I18n
KF5::NewStuff
)

View file

@ -3,7 +3,7 @@
set(kcm_kwinoptions_PART_SRCS windows.cpp mouse.cpp main.cpp )
qt5_wrap_ui(kcm_kwinoptions_PART_SRCS actions.ui advanced.ui focus.ui mouse.ui moving.ui)
add_library(kcm_kwinoptions MODULE ${kcm_kwinoptions_PART_SRCS})
target_link_libraries(kcm_kwinoptions Qt5::DBus KF5::Completion KF5::I18n KF5::KCMUtils)
target_link_libraries(kcm_kwinoptions Qt5::DBus KF5::Completion KF5::I18n KF5::ConfigWidgets KF5::Service)
install(TARGETS kcm_kwinoptions DESTINATION ${PLUGIN_INSTALL_DIR} )

View file

@ -20,9 +20,10 @@ set(kwin_kcm_rules_XCB_LIBS
set(kcm_libs
Qt5::Concurrent
Qt5::X11Extras
KF5::KCMUtils
KF5::Completion
KF5::ConfigWidgets
KF5::I18n
KF5::Service
KF5::WindowSystem
KF5::XmlGui
${X11_LIBRARIES}