summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorAsheem Mamoowala <asheem.mamoowala@mapbox.com>2017-05-18 13:48:26 -0700
committerGitHub <noreply@github.com>2017-05-18 13:48:26 -0700
commit8c75001443d5b91059f90aadbec126e47f6fc64b (patch)
tree76612dc59bbe32983fd529d85d4f3d7fd946c0c7 /cmake
parentcd4e67968a34aa1f2cfa79beb928a64bfe0d4049 (diff)
downloadqtlocation-mapboxgl-8c75001443d5b91059f90aadbec126e47f6fc64b.tar.gz
[core][ios] Use explicit submodule update for ios target (#8973)
Closes #8750
Diffstat (limited to 'cmake')
-rw-r--r--cmake/mbgl.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/mbgl.cmake b/cmake/mbgl.cmake
index 14e5b0d691..9ef2ddd306 100644
--- a/cmake/mbgl.cmake
+++ b/cmake/mbgl.cmake
@@ -44,6 +44,12 @@ execute_process(
COMMAND git submodule update --init mapbox-gl-js
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}")
+if(MBGL_PLATFORM STREQUAL "ios")
+ execute_process(
+ COMMAND git submodule update --init platform/ios/vendor/SMCalloutView platform/ios/uitest/KIF platform/ios/uitest/OHHTTPStubs
+ WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}")
+endif()
+
if(NOT EXISTS "${CMAKE_SOURCE_DIR}/mapbox-gl-js/node_modules")
# Symlink mapbox-gl-js/node_modules so that the modules that are
# about to be installed get cached between CI runs.