mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-28 19:27:10 +00:00
If it's an EMSCRIPTEN build, we're not done
This commit is contained in:
@@ -951,6 +951,9 @@ elif "occ" in targets:
|
|||||||
|
|
||||||
if "manifold" in targets:
|
if "manifold" in targets:
|
||||||
dependency_name = f"manifold-{MANIFOLD_VERSION}"
|
dependency_name = f"manifold-{MANIFOLD_VERSION}"
|
||||||
|
patches = []
|
||||||
|
if WASM:
|
||||||
|
patches.append("./patches/manifold/install-metadata-for-emscripten.patch")
|
||||||
build_dependency(
|
build_dependency(
|
||||||
name=dependency_name,
|
name=dependency_name,
|
||||||
mode="cmake",
|
mode="cmake",
|
||||||
@@ -970,6 +973,7 @@ if "manifold" in targets:
|
|||||||
download_name="manifold",
|
download_name="manifold",
|
||||||
download_tool=download_tool_git,
|
download_tool=download_tool_git,
|
||||||
revision=f"v{MANIFOLD_VERSION}",
|
revision=f"v{MANIFOLD_VERSION}",
|
||||||
|
patch=patches,
|
||||||
)
|
)
|
||||||
|
|
||||||
if "libxml2" in targets:
|
if "libxml2" in targets:
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
# This file was generated with the assistance of an AI coding tool.
|
||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index 42e403b..764562f 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -249,11 +249,6 @@ set_source_files_properties(
|
||||||
|
PROPERTIES GENERATED TRUE
|
||||||
|
)
|
||||||
|
|
||||||
|
-# If it's an EMSCRIPTEN build, we're done
|
||||||
|
-if(EMSCRIPTEN)
|
||||||
|
- return()
|
||||||
|
-endif()
|
||||||
|
-
|
||||||
|
# CMake exports
|
||||||
|
configure_file(
|
||||||
|
cmake/manifoldConfig.cmake.in
|
||||||
Reference in New Issue
Block a user