diff options
Diffstat (limited to 'cmake/utils.cmake')
-rw-r--r-- | cmake/utils.cmake | 2 |
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) |