add explicit OCCT paths for WASM builds

This commit is contained in:
myoualid
2025-09-28 20:20:43 +01:00
parent e2ee6c6e56
commit a1f20ec7bb
+5
View File
@@ -1263,6 +1263,11 @@ if "cgal" in targets:
if "occ" in targets and USE_OCCT:
cmake_args_prefix_path.append(f"{DEPS_DIR}/install/occt-{OCCT_VERSION}")
if "wasm" in flags:
cmake_args.extend([
f"-DOCC_INCLUDE_DIR={DEPS_DIR}/install/occt-{OCCT_VERSION}/include/opencascade",
f"-DOCC_LIBRARY_DIR={DEPS_DIR}/install/occt-{OCCT_VERSION}/lib",
])
elif "occ" in targets:
# We don't support find_package for OCE.