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.pro17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/plugins/geoservices/geoservices.pro b/src/plugins/geoservices/geoservices.pro
index 7a392b57..32dfee96 100644
--- a/src/plugins/geoservices/geoservices.pro
+++ b/src/plugins/geoservices/geoservices.pro
@@ -1,3 +1,20 @@
TEMPLATE = subdirs
SUBDIRS = nokia osm mapbox esri
+
+linux|android: {
+ equals(QT_GCC_MAJOR_VERSION, 4): greaterThan(QT_GCC_MINOR_VERSION, 8) {
+ SUBDIRS += mapboxgl 3rdparty
+ mapboxgl.depends += 3rdparty
+ }
+
+ greaterThan(QT_GCC_MAJOR_VERSION, 4) {
+ SUBDIRS += mapboxgl 3rdparty
+ mapboxgl.depends += 3rdparty
+ }
+}
+
+ios|macos: {
+ SUBDIRS += mapboxgl 3rdparty
+ mapboxgl.depends += 3rdparty
+}