aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/utils.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/utils.cmake b/cmake/utils.cmake
index 924b1ac..662fc84 100644
--- a/cmake/utils.cmake
+++ b/cmake/utils.cmake
@@ -14,7 +14,7 @@ function(check_init_submodule path)
endif()
message(STATUS "Setting up dependencies as git submodules")
- execute_process(COMMAND ${GIT_EXECUTABLE} submodule update --init
+ execute_process(COMMAND ${GIT_EXECUTABLE} submodule update --init --recursive
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
RESULT_VARIABLE GIT_SUBMOD_RESULT)