summaryrefslogtreecommitdiff
path: root/src/plugins/shellintegration/qt-shell/CMakeLists.txt
blob: 99fbfda3f62e8e755070699840775f6ca70632cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#####################################################################
## QWaylandQtShellIntegrationPlugin Plugin:
#####################################################################

qt_internal_add_plugin(QWaylandQtShellIntegrationPlugin
    OUTPUT_NAME qt-shell
    TYPE wayland-shell-integration
    SOURCES
        main.cpp
        qwaylandqtshellintegration.cpp qwaylandqtshellintegration.h
        qwaylandqtsurface.cpp qwaylandqtsurface_p.h
    PUBLIC_LIBRARIES
        Qt::Core
        Qt::Gui
        Qt::GuiPrivate
        Qt::WaylandClientPrivate
        Wayland::Client
)

qt6_generate_wayland_protocol_client_sources(QWaylandQtShellIntegrationPlugin
    FILES
        ${CMAKE_CURRENT_SOURCE_DIR}/../../../extensions/qt-shell-unstable-v1.xml
)

## Scopes:
#####################################################################

qt_internal_extend_target(QWaylandQtShellIntegrationPlugin CONDITION QT_FEATURE_xkbcommon
    PUBLIC_LIBRARIES
        XKB::XKB
)