summaryrefslogtreecommitdiffstats
path: root/src/hardwareintegration
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@digia.com>2014-01-15 13:09:52 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-15 15:11:35 +0100
commit0f2dc4713918915b84755e67d4391cb3b5a66410 (patch)
treee93d58ab9fd1996921bf858c25b7123250cb1482 /src/hardwareintegration
parent62efff2861a8a256fbe338dfa3f348d83f346c6f (diff)
Fix pkgconfig for brcm-egl hw integration
Change-Id: I092eaebad40785a68c0c9c22201c9e2d39666ea9 Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
Diffstat (limited to 'src/hardwareintegration')
-rw-r--r--src/hardwareintegration/client/brcm-egl/brcm-egl.pri7
-rw-r--r--src/hardwareintegration/compositor/brcm-egl/brcm-egl.pri8
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 cb7a0e224..eb8e450f9 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 8dbd00b1a..72645ace3 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