summaryrefslogtreecommitdiffstats
path: root/config.tests/qpa/kms/kms.pro
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-08-13 22:37:15 +0200
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-08-18 17:09:43 +0000
commitd175f799cafb78237e0eae55294c3cd9d6cbd9bc (patch)
tree10e16f0ca0ca1677920971d5810b035ec50b105d /config.tests/qpa/kms/kms.pro
parent492d7d14fc813a858fa98ae048137a6b45155db0 (diff)
don't implicitly test for kms in egldevice test any more
having compound tests is messy, and we already have a separate test for that anyway. the kms test itself gains a fallback library, as that's what both the egldevice test did and the actual projects using kms do. Change-Id: I4544b64de86d58d6c6449bc0ad9095acaf144056 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'config.tests/qpa/kms/kms.pro')
-rw-r--r--config.tests/qpa/kms/kms.pro8
1 files changed, 6 insertions, 2 deletions
diff --git a/config.tests/qpa/kms/kms.pro b/config.tests/qpa/kms/kms.pro
index 5147bc82da..ff6b1f6299 100644
--- a/config.tests/qpa/kms/kms.pro
+++ b/config.tests/qpa/kms/kms.pro
@@ -1,4 +1,8 @@
SOURCES = kms.cpp
-CONFIG += link_pkgconfig
-PKGCONFIG += libdrm
+!contains(QT_CONFIG, no-pkg-config) {
+ CONFIG += link_pkgconfig
+ PKGCONFIG += libdrm
+} else {
+ LIBS += -ldrm
+}
CONFIG -= qt