From 850421c5faba8557d5664ad836e7622aa107f88e Mon Sep 17 00:00:00 2001 From: Clifford Yapp <238416+starseeker@users.noreply.github.com> Date: Tue, 19 Mar 2024 13:18:08 -0400 Subject: [PATCH] Adjust options --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 378f02b2..bdee4bf2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -250,7 +250,7 @@ function(git_submodule_init path checkfile) ) else (NOT GIT_SHALLOW_CLONE) execute_process( - COMMAND ${GIT_EXECUTABLE} submodule update --init --recursive --shallow-submodules --depth=1 ${path} + COMMAND ${GIT_EXECUTABLE} submodule update --init --recursive --recommend-shallow --single-branch ${path} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} ) endif (NOT GIT_SHALLOW_CLONE)