summaryrefslogtreecommitdiff
path: root/cmake/mbgl.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/mbgl.cmake')
-rw-r--r--cmake/mbgl.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmake/mbgl.cmake b/cmake/mbgl.cmake
index 96ce393da2..436574a49b 100644
--- a/cmake/mbgl.cmake
+++ b/cmake/mbgl.cmake
@@ -66,9 +66,12 @@ if(WITH_NODEJS)
# Run submodule update
set(MBGL_SUBMODULES mapbox-gl-js)
- if (MBGL_PLATFORM STREQUAL "ios")
+ if(MBGL_PLATFORM STREQUAL "ios")
list(APPEND MBGL_SUBMODULES platform/ios/vendor/mapbox-events-ios)
endif()
+ if(MBGL_PLATFORM STREQUAL "ios" OR MBGL_PLATFORM STREQUAL "macos")
+ list(APPEND MBGL_SUBMODULES platform/darwin/docs/theme)
+ endif()
message(STATUS "Updating submodules...")
execute_process(