62a0a08a0e
Screenedges KCM is adjusted to build against Qt5. Most notable changes: * no longer links kworkspace as ScreenPreviewWidget got moved into the KCM * ui file is adjusted to not crash (see git log of kcmdesktop)
23 lines
672 B
CMake
23 lines
672 B
CMake
include_directories( ${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin )
|
|
|
|
set(
|
|
kcm_kwinscreenedges_PART_SRCS
|
|
main.cpp
|
|
monitor.cpp
|
|
screenpreviewwidget.cpp
|
|
)
|
|
kde4_add_ui_files( kcm_kwinscreenedges_PART_SRCS main.ui )
|
|
kde4_add_plugin( kcm_kwinscreenedges ${kcm_kwinscreenedges_PART_SRCS} )
|
|
target_link_libraries( kcm_kwinscreenedges ${X11_LIBRARIES}
|
|
Qt5::DBus
|
|
KF5::KCompletion
|
|
KF5::KConfigCore
|
|
KF5::KConfigWidgets
|
|
KF5::KI18n
|
|
KF5::KService
|
|
KF5::plasma
|
|
${KDE4Support_LIBRARIES}
|
|
)
|
|
install( TARGETS kcm_kwinscreenedges DESTINATION ${PLUGIN_INSTALL_DIR} )
|
|
|
|
install( FILES kwinscreenedges.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|