From f45e938472f64e9bf2d38a2000e9e93db52016d9 Mon Sep 17 00:00:00 2001 From: Michal Klocek Date: Wed, 7 Aug 2019 18:10:21 +0200 Subject: Move khr test to configure Change-Id: Ic213555705f12a46283c62410bf9a477f03c05c0 Reviewed-by: Allan Sandfeld Jensen --- src/core/configure.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src') 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", -- cgit v1.2.1