Make the gl integrations use the same build options as the config tests
[profile/ivi/qtwayland.git] / src / plugins / platforms / wayland / gl_integration / readback_glx / readback_glx.pri
1 HEADERS += \
2     $$PWD/qwaylandreadbackglxintegration.h \
3     $$PWD/qwaylandreadbackglxwindow.h \
4     $$PWD/qwaylandreadbackglxcontext.h
5
6 SOURCES += \
7     $$PWD/qwaylandreadbackglxintegration.cpp \
8     $$PWD/qwaylandreadbackglxwindow.cpp \
9     $$PWD/qwaylandreadbackglxcontext.cpp
10
11 !contains(QT_CONFIG, no-pkg-config) {
12     CONFIG += link_pkgconfig
13     PKGCONFIG += x11 gl
14 } else {
15     LIBS += -lX11 -lGL
16 }