diff options
author | Alex Blasche <alexander.blasche@qt.io> | 2017-02-28 16:00:50 +0100 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-02-28 15:04:56 +0000 |
commit | 65bd308685d6c863f4f684efa7a593d76cbdec3b (patch) | |
tree | 18c46adb433c378223e00dffa35b498792fe7d4b /src/plugins/geoservices/geoservices.pro | |
parent | 9deba5318b646d92ffa276dcdd48af08506f8fa7 (diff) | |
download | qtlocation-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.pro | 4 |
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 |