Skip to content

Commit

Permalink
Adjust options
Browse files Browse the repository at this point in the history
  • Loading branch information
starseeker committed Mar 19, 2024
1 parent 4891379 commit 850421c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 850421c

Please sign in to comment.