summaryrefslogtreecommitdiff
path: root/src/compositor/hardware_integration/hardware_integration.pri
blob: 8477243fe4b90815c3dd6476d99b8187ccd899d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
QT += core

isEmpty(QT_WAYLAND_GL_CONFIG):QT_WAYLAND_GL_CONFIG = $$(QT_WAYLAND_GL_CONFIG)

!isEqual(QT_WAYLAND_GL_CONFIG,nogl) {
    HEADERS += \
        hardware_integration/qwaylandgraphicshardwareintegration.h \
        hardware_integration/qwaylandgraphicshardwareintegrationfactory.h \
        hardware_integration/qwaylandgraphicshardwareintegrationplugin.h

    SOURCES += \
        hardware_integration/qwaylandgraphicshardwareintegration.cpp \
        hardware_integration/qwaylandgraphicshardwareintegrationfactory.cpp \
        hardware_integration/qwaylandgraphicshardwareintegrationplugin.cpp

    DEFINES += QT_COMPOSITOR_WAYLAND_GL
} else {
    system(echo "Qt-Compositor configured as raster only compositor")
}