Skip to content

ExternalProject: Option to turn off recursive update of git submodules

Currently there's no option to turn off recursive update of git submodules. This is a blocking issue for some projects. This change adds a GIT_SUBMODULES_RECURSE bool property that defaults to true (existing functionality), but can be optionally set to false.

When this property is enabled, the --recursive flag is passed to the git submodule update command.

Fixes: #19832 (closed)
Topic-rename: ExternalProject-git-no-recurse

Edited by Brad King

Merge request reports