Skip to content

Commit

Permalink
git submmodule sync has no depth command
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesLorenz committed Dec 22, 2024
1 parent 2b240d2 commit 8013bf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/modules/CheckSubmodules.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ MACRO(GIT_SUBMODULE SUBMODULE_PATH FORCE_DEINIT FORCE_REMOTE NO_DEPTH)
ENDIF()
# Sync submodules - required in case a submodule URL changed
EXECUTE_PROCESS(
COMMAND "${GIT_EXECUTABLE}" submodule sync --recursive ${DEPTH_CMD} ${DEPTH_VAL} "${CMAKE_SOURCE_DIR}/${SUBMODULE_PATH}"
COMMAND "${GIT_EXECUTABLE}" submodule sync --recursive "${CMAKE_SOURCE_DIR}/${SUBMODULE_PATH}"
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
RESULT_VARIABLE GIT_RESULT_SYNC
OUTPUT_VARIABLE GIT_STDOUT_SYNC
Expand Down

0 comments on commit 8013bf7

Please sign in to comment.