Commit e498c008 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

[showdesktop applet] Remove unused dep on Qt5::X11Extras

parent 0eb7d5da
......@@ -22,7 +22,14 @@ include(GenerateExportHeader)
set(REQUIRED_QT_VERSION 5.9.0)
set(KF5_MIN_VERSION 5.42.0)
find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Core Gui DBus Quick Qml Widgets X11Extras)
find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED
Core
Gui
DBus
Quick
Qml
Widgets
)
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
Archive
......
......@@ -16,11 +16,5 @@ target_link_libraries(showdesktopplugin
KF5::WindowSystem
)
if (Qt5X11Extras_FOUND)
target_link_libraries(showdesktopplugin
Qt5::X11Extras
)
endif()
install(TARGETS showdesktopplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/private/showdesktop)
install(FILES plugin/qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/private/showdesktop)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment