If it's an EMSCRIPTEN build, we're not done

This commit is contained in:
Thomas Krijnen
2026-05-09 20:08:28 +02:00
parent 43f5a79f99
commit 3c773d71d3
2 changed files with 21 additions and 0 deletions
+4
View File
@@ -951,6 +951,9 @@ elif "occ" in targets:
if "manifold" in targets:
dependency_name = f"manifold-{MANIFOLD_VERSION}"
patches = []
if WASM:
patches.append("./patches/manifold/install-metadata-for-emscripten.patch")
build_dependency(
name=dependency_name,
mode="cmake",
@@ -970,6 +973,7 @@ if "manifold" in targets:
download_name="manifold",
download_tool=download_tool_git,
revision=f"v{MANIFOLD_VERSION}",
patch=patches,
)
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