summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-07-02 14:55:52 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2021-07-02 14:55:52 +0300
commit372ea88264f2fa375d51511c8ce1a83223e45e83 (patch)
tree953fd2a356363add01074d524bf20cbf7be153d2 /cmake
parentc294443b41bff54eb11ac68f23b9366c0cb9ef90 (diff)
parentf9194d02dab73cdfce92d8e034530ad608df7748 (diff)
downloadmariadb-git-372ea88264f2fa375d51511c8ce1a83223e45e83.tar.gz
Merge 10.3 into 10.4
Diffstat (limited to 'cmake')
-rw-r--r--cmake/submodules.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/submodules.cmake b/cmake/submodules.cmake
index 0eae3e1176b..91f9f9e487a 100644
--- a/cmake/submodules.cmake
+++ b/cmake/submodules.cmake
@@ -28,7 +28,7 @@ IF(GIT_EXECUTABLE AND EXISTS "${CMAKE_SOURCE_DIR}/.git")
RESULT_VARIABLE update_result)
ELSE()
MESSAGE(STATUS "Updating submodules")
- EXECUTE_PROCESS(COMMAND "${GIT_EXECUTABLE}" submodule update --init --recursive
+ EXECUTE_PROCESS(COMMAND "${GIT_EXECUTABLE}" submodule update --init --recursive --depth=1
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
RESULT_VARIABLE update_result)
ENDIF()