aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--update_external_sources.bat2
-rwxr-xr-xupdate_external_sources.sh2
2 files changed, 4 insertions, 0 deletions
diff --git a/update_external_sources.bat b/update_external_sources.bat
index d4ac865a..63718dd7 100644
--- a/update_external_sources.bat
+++ b/update_external_sources.bat
@@ -21,6 +21,8 @@ set do_64=0
set do_debug=0
set do_release=0
+git submodule update --init --recursive
+
REM // ======== Parameter parsing ======== //
set arg-use-implicit-component-list=1
diff --git a/update_external_sources.sh b/update_external_sources.sh
index 374d6329..9676e0d8 100755
--- a/update_external_sources.sh
+++ b/update_external_sources.sh
@@ -15,6 +15,8 @@ echo CORE_COUNT=$CORE_COUNT
REVISION_DIR="$CURRENT_DIR/external_revisions"
+git submodule update --init --recursive
+
# Use tr -d to remove line endings
GLSLANG_GITURL=$(cat "${REVISION_DIR}/glslang_giturl" | tr -d "\n\r")
GLSLANG_REVISION=$(cat "${REVISION_DIR}/glslang_revision" | tr -d "\n\r")