build: Only update imgui if not present

This commit is contained in:
Matt Borgerson 2021-02-11 22:06:41 -07:00 committed by mborgerson
parent f8bdd3d4cb
commit edbcd01402
1 changed files with 3 additions and 1 deletions

View File

@ -248,7 +248,9 @@ set -x # Print commands from now on
"$@"
# Force imgui update now to work around annoying make issue
./scripts/git-submodule.sh update ui/imgui
if ! test -f "${project_source_dir}/ui/imgui/imgui.cpp"; then
./scripts/git-submodule.sh update ui/imgui
fi
time make -j"${job_count}" 2>&1 | tee build.log