From f04d17d1604a9753db06091dc723a0739da38329 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Fri, 3 May 2024 17:04:04 +1200 Subject: [PATCH] Tools: skip submodule check in CLion Same as what's required for VSCode. Signed-off-by: Julian Oes --- Tools/check_submodules.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/check_submodules.sh b/Tools/check_submodules.sh index 8082491ee2..1931deb9a3 100755 --- a/Tools/check_submodules.sh +++ b/Tools/check_submodules.sh @@ -6,7 +6,7 @@ function check_git_submodule { if [[ -f $1"/.git" || -d $1"/.git" ]]; then # always update within CI environment or configuring withing VSCode CMake where you can't interact - if [ "$CI" == "true" ] || [ -n "${VSCODE_PID+set}" ]; then + if [ "$CI" == "true" ] || [ -n "${VSCODE_PID+set}" ] || [ -n "${CLION_IDE+set}" ]; then git submodule --quiet sync --recursive -- $1 git submodule --quiet update --init --recursive --jobs=8 -- $1 || true git submodule --quiet sync --recursive -- $1