diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 41df0f2a12..1fcbb6c360 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,6 +14,9 @@ if(NOT EXISTS "mapbox-gl-js/package.json") execute_process( COMMAND git submodule update --init mapbox-gl-js WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}) + execute_process( + COMMAND npm install + WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/mapbox-gl-js) endif() include(.mason/mason.cmake) |