wasm: make sure bind is compiler argument
Fixes: QTBUG-93713 Change-Id: I027caccb5c37bab529c80efac0b575a363be5f89 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
c8f380bd13
commit
7c4363ba4c
@ -7,6 +7,7 @@ function (qt_internal_setup_wasm_target_properties wasmTarget)
|
|||||||
"SHELL:-s USE_WEBGL2=1"
|
"SHELL:-s USE_WEBGL2=1"
|
||||||
"--bind"
|
"--bind"
|
||||||
"SHELL:-s FETCH=1")
|
"SHELL:-s FETCH=1")
|
||||||
|
target_compile_options("${wasmTarget}" INTERFACE --bind)
|
||||||
|
|
||||||
# Hardcode wasm memory size. Emscripten does not currently support memory growth
|
# Hardcode wasm memory size. Emscripten does not currently support memory growth
|
||||||
# (ALLOW_MEMORY_GROWTH) in pthreads mode, and requires specifying the memory size
|
# (ALLOW_MEMORY_GROWTH) in pthreads mode, and requires specifying the memory size
|
||||||
|
Loading…
x
Reference in New Issue
Block a user