mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-10 06:31:37 +00:00
build script: support target with git submodules
This commit is contained in:
parent
0d9ab3cfa8
commit
93a020330c
1 changed files with 1 additions and 1 deletions
2
build.py
2
build.py
|
@ -274,7 +274,7 @@ class Builder(object):
|
|||
|
||||
def _prepare_source(self):
|
||||
if not os.path.exists(self.source_path):
|
||||
args = ('git', 'clone', self.target.url, self.source_path)
|
||||
args = ('git', 'clone', '--recurse-submodules', self.target.url, self.source_path)
|
||||
subprocess.check_call(args, cwd=self.root_path)
|
||||
|
||||
if self.checkout_commit:
|
||||
|
|
Loading…
Reference in a new issue