mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 18:16:40 +00:00
For schema plugins also wasm-opt -O1
This commit is contained in:
@@ -91,7 +91,7 @@ foreach(schema ${SCHEMA_VERSIONS})
|
||||
)
|
||||
|
||||
if(WASM_BUILD)
|
||||
target_link_options(${SCHEMA_PLUGIN_TARGET} PRIVATE "SHELL:-s SIDE_MODULE=1")
|
||||
target_link_options(${SCHEMA_PLUGIN_TARGET} PRIVATE "SHELL:-s SIDE_MODULE=1" "-O1")
|
||||
endif()
|
||||
|
||||
list(APPEND schema_libraries ${SCHEMA_PLUGIN_TARGET})
|
||||
|
||||
Reference in New Issue
Block a user