summaryrefslogtreecommitdiff
path: root/src/plugins/geoservices/geoservices.pro
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@qt.io>2017-02-28 16:00:50 +0100
committerPaolo Angelelli <paolo.angelelli@qt.io>2017-02-28 15:04:56 +0000
commit65bd308685d6c863f4f684efa7a593d76cbdec3b (patch)
tree18c46adb433c378223e00dffa35b498792fe7d4b /src/plugins/geoservices/geoservices.pro
parent9deba5318b646d92ffa276dcdd48af08506f8fa7 (diff)
downloadqtlocation-65bd308685d6c863f4f684efa7a593d76cbdec3b.tar.gz
Do not create error when mapgl submodule is not checked out
Change-Id: I7251226b520bd3b296071c90420c648ac720cc2a Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
Diffstat (limited to 'src/plugins/geoservices/geoservices.pro')
-rw-r--r--src/plugins/geoservices/geoservices.pro4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/geoservices/geoservices.pro b/src/plugins/geoservices/geoservices.pro
index 6de37641..09bf12df 100644
--- a/src/plugins/geoservices/geoservices.pro
+++ b/src/plugins/geoservices/geoservices.pro
@@ -25,8 +25,8 @@ defineTest(supportsMapboxGL) {
}
supportsMapboxGL() {
- !exists(../../3rdparty/mapbox-gl-native) {
- error("Submodule mapbox-gl-native does not exist. Run 'git submodule update --init' on qtlocation.")
+ !exists(../../3rdparty/mapbox-gl-native/CMakeLists.txt) {
+ warning("Submodule mapbox-gl-native does not exist. Run 'git submodule update --init' on qtlocation.")
} else {
SUBDIRS += mapboxgl ../../3rdparty/mapbox-gl-native
mapboxgl.depends = ../../3rdparty/mapbox-gl-native