From 43ece501569d56e1ff13840126ef979490ce7071 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20D=C3=A9l=C3=A8ze?= Date: Wed, 4 Oct 2023 09:27:07 +0200 Subject: [PATCH] Fix snap build (#6402) * remove emsdk when building on CI * fix script * test with another variable * test new variable --- scripts/install/linux_optional_compilation_dependencies.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/install/linux_optional_compilation_dependencies.sh b/scripts/install/linux_optional_compilation_dependencies.sh index 1e0f56e1c21..812413cbed6 100755 --- a/scripts/install/linux_optional_compilation_dependencies.sh +++ b/scripts/install/linux_optional_compilation_dependencies.sh @@ -29,4 +29,7 @@ fi script_full_path=$(dirname "$0") $script_full_path/linux_test_dependencies.sh --norecurse $script_full_path/linux_compilation_dependencies.sh -$script_full_path/linux_web_viewer_dependencies.sh + +if [[ -z "$SNAP" ]]; then + $script_full_path/linux_web_viewer_dependencies.sh +fi