summaryrefslogtreecommitdiffstats
path: root/src/plugins/waylandcompositors/wayland-egl/wayland-egl.pro
blob: e06bf85bfe14bc7cdc8ec043b0a835736e5586b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
PLUGIN_TYPE = waylandcompositors
load(qt_plugin)

QT = compositor compositor-private core-private gui-private

OTHER_FILES += wayland-egl.json

CONFIG += wayland-scanner
WAYLANDSERVERSOURCES += $$PWD/../../../3rdparty/protocol/wayland.xml

!contains(QT_CONFIG, no-pkg-config) {
    CONFIG += link_pkgconfig
    PKGCONFIG += wayland-server wayland-egl egl
} else {
    LIBS += -lwayland-egl -lwayland-server -lEGL
}

SOURCES += \
    waylandeglintegration.cpp \
    main.cpp

HEADERS += \
    waylandeglintegration.h