mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
add explicit OCCT paths for WASM builds
This commit is contained in:
@@ -1263,6 +1263,11 @@ if "cgal" in targets:
|
|||||||
|
|
||||||
if "occ" in targets and USE_OCCT:
|
if "occ" in targets and USE_OCCT:
|
||||||
cmake_args_prefix_path.append(f"{DEPS_DIR}/install/occt-{OCCT_VERSION}")
|
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:
|
elif "occ" in targets:
|
||||||
# We don't support find_package for OCE.
|
# We don't support find_package for OCE.
|
||||||
|
|||||||
Reference in New Issue
Block a user