From 8c75001443d5b91059f90aadbec126e47f6fc64b Mon Sep 17 00:00:00 2001 From: Asheem Mamoowala Date: Thu, 18 May 2017 13:48:26 -0700 Subject: [core][ios] Use explicit submodule update for ios target (#8973) Closes #8750 --- cmake/mbgl.cmake | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cmake') 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. -- cgit v1.2.1