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.
2 parents a6adefa + ffe744e commit f9194d0Copy full SHA for f9194d0
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