diff options
-rw-r--r-- | src/hardwareintegration/client/brcm-egl/brcm-egl.pri | 7 | ||||
-rw-r--r-- | src/hardwareintegration/compositor/brcm-egl/brcm-egl.pri | 8 |
2 files changed, 14 insertions, 1 deletions
diff --git a/src/hardwareintegration/client/brcm-egl/brcm-egl.pri b/src/hardwareintegration/client/brcm-egl/brcm-egl.pri index cb7a0e22..eb8e450f 100644 --- a/src/hardwareintegration/client/brcm-egl/brcm-egl.pri +++ b/src/hardwareintegration/client/brcm-egl/brcm-egl.pri @@ -1,5 +1,12 @@ INCLUDEPATH += $$PWD +contains(QT_CONFIG, no-pkg-config) { + CONFIG += link_pkgconfig + PKGCONFIG += wayland-client +} else { + LIBS += -lwayland-client +} + for(p, QMAKE_LIBDIR_EGL) { exists($$p):LIBS += -L$$p } diff --git a/src/hardwareintegration/compositor/brcm-egl/brcm-egl.pri b/src/hardwareintegration/compositor/brcm-egl/brcm-egl.pri index 8dbd00b1..72645ace 100644 --- a/src/hardwareintegration/compositor/brcm-egl/brcm-egl.pri +++ b/src/hardwareintegration/compositor/brcm-egl/brcm-egl.pri @@ -4,7 +4,13 @@ load(qt_plugin) QT = compositor compositor-private core-private gui-private INCLUDEPATH += $$PWD -LIBS += -lwayland-server + +!contains(QT_CONFIG, no-pkg-config) { + CONFIG += link_pkgconfig + PKGCONFIG += wayland-server +} else { + LIBS += -lwayland-server +} for(p, QMAKE_LIBDIR_EGL) { exists($$p):LIBS += -L$$p |