Skip to content

Commit ffe744e

Browse files
committed
submodules.cmake: add missing --depth=1
1 parent 2bf6f2c commit ffe744e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/submodules.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ IF(GIT_EXECUTABLE AND EXISTS "${CMAKE_SOURCE_DIR}/.git")
2828
RESULT_VARIABLE update_result)
2929
ELSE()
3030
MESSAGE(STATUS "Updating submodules")
31-
EXECUTE_PROCESS(COMMAND "${GIT_EXECUTABLE}" submodule update --init
31+
EXECUTE_PROCESS(COMMAND "${GIT_EXECUTABLE}" submodule update --init --depth=1
3232
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
3333
RESULT_VARIABLE update_result)
3434
ENDIF()

0 commit comments

Comments
 (0)