diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-09-16 15:47:37 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-09-25 10:16:55 +0000 |
commit | 76c7af60c351cacbce01c89b7e2e7f1df536c7aa (patch) | |
tree | 89e3bdd496cbfc9e40e3eb71a2f5bc44d41f0bab /tools | |
parent | ed07eceac0ea24a816b0a6238c7339fb01ffaab1 (diff) |
Fix khr autotest to work with non-standard locations
Just like the egl autotest in qtbase does, the paths have to be added from the
respective QMAKE variables, otherwise the test will never pass on systems where
EGL and friends are installed in a non-standard location.
Change-Id: Idaa2136b5574f6f320abb8a7074350b5838b402e
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qmake/config.tests/khr/khr.pro | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/qmake/config.tests/khr/khr.pro b/tools/qmake/config.tests/khr/khr.pro index 6abd2367a..b8e935f5a 100644 --- a/tools/qmake/config.tests/khr/khr.pro +++ b/tools/qmake/config.tests/khr/khr.pro @@ -1,2 +1,6 @@ +!isEmpty(QMAKE_INCDIR_EGL): INCLUDEPATH += $$QMAKE_INCDIR_EGL +!isEmpty(QMAKE_INCDIR_OPENGL): INCLUDEPATH += $$QMAKE_INCDIR_OPENGL + CONFIG-=qt + linux:SOURCES += khr.cpp |