summaryrefslogtreecommitdiff
path: root/src/plugins/geoservices/geoservices.pro
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2017-02-23 19:05:47 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2017-02-24 15:50:14 +0000
commitc54ee74acdb9757989004005baf79e99be4c9417 (patch)
treefc7ffd52d63eb34c936df961fb7ece5f8a74e151 /src/plugins/geoservices/geoservices.pro
parent11714b973304827e2893953d7c55a23e15e678f5 (diff)
downloadqtlocation-c54ee74acdb9757989004005baf79e99be4c9417.tar.gz
Better dependency tracking when building 3rdparty modules
Make the component using the 3rdparty module depend directly on the module instead of depending on the 3rdparty directory as a whole. This will speedup compiling time when doing parallel builds and make build more consistent when building only selected pieces of QtLocation. Task-number: QTBUG-58943 Change-Id: I95b5ef8302109fb0c5fad760027a7a53d021bfa4 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
Diffstat (limited to 'src/plugins/geoservices/geoservices.pro')
-rw-r--r--src/plugins/geoservices/geoservices.pro9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/plugins/geoservices/geoservices.pro b/src/plugins/geoservices/geoservices.pro
index cedd159b..0c2a799e 100644
--- a/src/plugins/geoservices/geoservices.pro
+++ b/src/plugins/geoservices/geoservices.pro
@@ -5,15 +5,18 @@ SUBDIRS = nokia osm mapbox esri
qtHaveModule(opengl) {
linux|android: {
equals(QT_GCC_MAJOR_VERSION, 4): greaterThan(QT_GCC_MINOR_VERSION, 8) {
- SUBDIRS += mapboxgl
+ SUBDIRS += mapboxgl ../../3rdparty/mapbox-gl-native
+ mapboxgl.depends = ../../3rdparty/mapbox-gl-native
}
greaterThan(QT_GCC_MAJOR_VERSION, 4) {
- SUBDIRS += mapboxgl
+ SUBDIRS += mapboxgl ../../3rdparty/mapbox-gl-native
+ mapboxgl.depends = ../../3rdparty/mapbox-gl-native
}
}
ios|macos: {
- SUBDIRS += mapboxgl
+ SUBDIRS += mapboxgl ../../3rdparty/mapbox-gl-native
+ mapboxgl.depends = ../../3rdparty/mapbox-gl-native
}
}