We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bf6f2c commit ffe744eCopy full SHA for ffe744e
cmake/submodules.cmake
@@ -28,7 +28,7 @@ IF(GIT_EXECUTABLE AND EXISTS "${CMAKE_SOURCE_DIR}/.git")
28
RESULT_VARIABLE update_result)
29
ELSE()
30
MESSAGE(STATUS "Updating submodules")
31
- EXECUTE_PROCESS(COMMAND "${GIT_EXECUTABLE}" submodule update --init
+ EXECUTE_PROCESS(COMMAND "${GIT_EXECUTABLE}" submodule update --init --depth=1
32
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
33
34
ENDIF()
0 commit comments