From 6d21801e53fe6d9a700aed823c4b24f77b62ab15 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Tue, 4 Aug 2026 14:09:42 +0500 Subject: [PATCH] build-all: fix shared build failing because opencollada is always built as static --- nix/build-all.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nix/build-all.py b/nix/build-all.py index 8fb5e2d5e8..0f93b4bf34 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -1135,6 +1135,8 @@ if "OpenCOLLADA" in targets: f"-DCMAKE_INSTALL_PREFIX={DEPS_DIR}/install/OpenCOLLADA/", # OpenCOLLADA is ancient at this point and allows cmake 2.6+, which results in error in cmake 4. f"-DCMAKE_POLICY_VERSION_MINIMUM=3.5", + f"-DUSE_STATIC={OFF_ON[BUILD_STATIC]}", + f"-DUSE_SHARED={OFF_ON[not BUILD_STATIC]}", *MAC_CROSS_COMPILE_INTEL_ARGS, ], download_url="https://github.com/KhronosGroup/OpenCOLLADA.git",