Skip to content

Commit

Permalink
Remove --single-branch to support older Git versions
Browse files Browse the repository at this point in the history
  • Loading branch information
starseeker committed Jul 11, 2024
1 parent a7c15d1 commit 675de3d
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 @@ -292,7 +292,7 @@ function(git_submodule_init path checkfile)
)
else (NOT GIT_SHALLOW_CLONE)
execute_process(
COMMAND ${GIT_EXECUTABLE} submodule update --init --recursive --recommend-shallow --single-branch ${path}
COMMAND ${GIT_EXECUTABLE} submodule update --init --recursive --recommend-shallow ${path}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)
endif (NOT GIT_SHALLOW_CLONE)
Expand Down

0 comments on commit 675de3d

Please sign in to comment.