summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2017-05-30 11:19:32 -0300
committerPaolo Angelelli <paolo.angelelli@qt.io>2017-05-30 16:05:55 +0000
commit31c594d25b22204afced1832aab1c654bb9d8137 (patch)
treee63bad98deb64cf8ddc79e3547a51671f756fb34
parent51094c3e020c683f53c8ae49bb023b160cbcd539 (diff)
downloadqtlocation-31c594d25b22204afced1832aab1c654bb9d8137.tar.gz
Fix build when OpenGL is disabled
Make OpenGL a requirement for the Mapbox GL plugin. Task-number: QTBUG-61087 Change-Id: I8d8224f14fdff01c03d48991c4ff704d74e70234 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
-rw-r--r--src/plugins/geoservices/geoservices.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/geoservices/geoservices.pro b/src/plugins/geoservices/geoservices.pro
index 0810d392..459897a8 100644
--- a/src/plugins/geoservices/geoservices.pro
+++ b/src/plugins/geoservices/geoservices.pro
@@ -6,7 +6,7 @@ qtConfig(concurrent) {
SUBDIRS += osm
}
-qtConfig(c++14):!win32|mingw:!qnx {
+qtConfig(opengl):qtConfig(c++14):!win32|mingw:!qnx {
!exists(../../3rdparty/mapbox-gl-native/CMakeLists.txt) {
warning("Submodule mapbox-gl-native does not exist. Run 'git submodule update --init' on qtlocation.")
} else {