summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2019-01-30 18:08:52 -0800
committerJason Wray <friedbunny@users.noreply.github.com>2019-02-01 13:39:36 -0800
commitb56a7181afc40029d4280d60489d989b5dddf304 (patch)
tree9d56fbd40b424397fc77fe1ebfd6732d8cf625ae /cmake
parent6dc38c593a70f4cbe9b9043833e0f4d19b133209 (diff)
downloadqtlocation-mapboxgl-b56a7181afc40029d4280d60489d989b5dddf304.tar.gz
[darwin, docs] Use shared mapbox/jazzy-theme submodule
Diffstat (limited to '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(