mirror of
https://github.com/savoirfairelinux/jami-client-qt.git
synced 2026-01-03 18:43:17 +08:00
build: windows: only init the required client submodules
Change-Id: Ia4ad3e76962fac38c8f482fb7892b259a968ce5f
This commit is contained in:
@@ -190,7 +190,15 @@ def init_submodules():
|
||||
"""Initialize any git submodules in the project."""
|
||||
print("Initializing submodules...")
|
||||
|
||||
if execute_cmd(["git", "submodule", "update", "--init", "--recursive"], False):
|
||||
# Init the client submodules for Windows other than the daemon.
|
||||
submodules = [
|
||||
"3rdparty/qrencode-win32",
|
||||
"3rdparty/SortFilterProxyModel",
|
||||
"3rdparty/md4c",
|
||||
"3rdparty/tidy-html5",
|
||||
]
|
||||
if execute_cmd(["git", "submodule", "update", "--init" ] + submodules,
|
||||
False):
|
||||
print("Submodule initialization error.")
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user