summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2019-08-07 18:10:21 +0200
committerMichal Klocek <michal.klocek@qt.io>2019-08-15 07:58:22 +0200
commitf45e938472f64e9bf2d38a2000e9e93db52016d9 (patch)
treec9df75579a7ed7d0c18dd6e2a849222936c57e1a /src/core
parentb92aa117eb84a4023eca7f9e4def7a71f603b586 (diff)
Move khr test to configure
Change-Id: Ic213555705f12a46283c62410bf9a477f03c05c0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core')
-rw-r--r--src/core/configure.json10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/core/configure.json b/src/core/configure.json
index 3e7968d41..7ec1b0714 100644
--- a/src/core/configure.json
+++ b/src/core/configure.json
@@ -294,8 +294,14 @@
},
"webengine-khr": {
"label": "khr",
- "test": "khr",
- "type": "compile"
+ "type": "compile",
+ "test": {
+ "include": "KHR/khrplatform.h",
+ "qmake" : [
+ "!isEmpty(QMAKE_INCDIR_EGL): INCLUDEPATH += $$QMAKE_INCDIR_EGL",
+ "!isEmpty(QMAKE_INCDIR_OPENGL): INCLUDEPATH += $$QMAKE_INCDIR_OPENGL"
+ ]
+ }
},
"webengine-winversion": {
"label": "winversion",