mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 18:21:59 +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)
|
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()
|
endif()
|
||||||
|
|
||||||
list(APPEND schema_libraries ${SCHEMA_PLUGIN_TARGET})
|
list(APPEND schema_libraries ${SCHEMA_PLUGIN_TARGET})
|
||||||
|
|||||||
Reference in New Issue
Block a user