summaryrefslogtreecommitdiff
path: root/src/plugins/geoservices/geoservices.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/geoservices/geoservices.pro')
-rw-r--r--src/plugins/geoservices/geoservices.pro18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/plugins/geoservices/geoservices.pro b/src/plugins/geoservices/geoservices.pro
index a70822dd..487183b7 100644
--- a/src/plugins/geoservices/geoservices.pro
+++ b/src/plugins/geoservices/geoservices.pro
@@ -2,16 +2,18 @@ TEMPLATE = subdirs
SUBDIRS = nokia osm mapbox esri
-linux|android: {
- equals(QT_GCC_MAJOR_VERSION, 4): greaterThan(QT_GCC_MINOR_VERSION, 8) {
- SUBDIRS += mapboxgl
+qtConfig(opengl) {
+ linux|android: {
+ equals(QT_GCC_MAJOR_VERSION, 4): greaterThan(QT_GCC_MINOR_VERSION, 8) {
+ SUBDIRS += mapboxgl
+ }
+
+ greaterThan(QT_GCC_MAJOR_VERSION, 4) {
+ SUBDIRS += mapboxgl
+ }
}
- greaterThan(QT_GCC_MAJOR_VERSION, 4) {
+ ios|macos: {
SUBDIRS += mapboxgl
}
}
-
-ios|macos: {
- SUBDIRS += mapboxgl
-}