From e03d0215362acccfbfec740ac6d8515cb912eca8 Mon Sep 17 00:00:00 2001 From: Ondrej Samohel Date: Thu, 26 Jan 2023 14:52:00 +0100 Subject: [PATCH] :bug: don't exit on missing dependency --- tools/fetch_thirdparty_libs.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/fetch_thirdparty_libs.py b/tools/fetch_thirdparty_libs.py index 7bcdde2ab2..70257caa46 100644 --- a/tools/fetch_thirdparty_libs.py +++ b/tools/fetch_thirdparty_libs.py @@ -130,8 +130,10 @@ def install_thirdparty(pyproject, openpype_root, platform_name): _print("trying to get universal url for all platforms") url = v.get("url") if not url: - _print("cannot get url", 1) - sys.exit(1) + _print("cannot get url for all platforms", 1) + _print((f"Warning: {k} is not installed for current platform " + "and it might be missing in the build"), 1) + continue else: url = v.get(platform_name).get("url") destination_path = destination_path / platform_name