Skip to content

Commit

Permalink
Do not recur when updating submodules.
Browse files Browse the repository at this point in the history
  • Loading branch information
pshriwise committed Mar 25, 2021
1 parent eee67fd commit 96df3a4
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 @@ -27,7 +27,7 @@ if(GIT_FOUND AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.git")
if(GIT_SUBMODULE)
message(STATUS "Submodule update")
exec_program(${GIT_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}
ARGS submodule update --init --recursive
ARGS submodule update --init
RETURN_VALUE GIT_SUBMOD_RESULT)

# execute_process(COMMAND bash "-c" "${GIT_EXECUTABLE} submodule update --init --recursive"
Expand Down

0 comments on commit 96df3a4

Please sign in to comment.