From 4f7501e1e8052affffa8a2922d55420118a072ed Mon Sep 17 00:00:00 2001 From: myoualid Date: Sun, 28 Sep 2025 21:56:27 +0100 Subject: [PATCH] set Eigen3 path for WASM build to avoid find_package issues following commit 235eb3c83ca731e94ced4e08763dde61cd4be473 --- nix/build-all.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nix/build-all.py b/nix/build-all.py index cd11958c3b..ddd6065a88 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -1243,6 +1243,8 @@ if "wasm" in flags: # Boost is built by the build script so should not be found # inside of the sysroot set by the emscriptem toolchain cmake_args.append("-DWASM_BUILD=On") + # set Eigen3 path for WASM to avoid find_package issues + cmake_args.append(f"-DEIGEN_DIR={DEPS_DIR}/install/eigen-install-{EIGEN_VERSION}/include/eigen3") schemas = os.environ.get("IFCOS_SCHEMAS") if schemas: