Skip to content

Commit

Permalink
wasm: fix build for emscripten 2.0.14
Browse files Browse the repository at this point in the history
new syntax rules for EXTRA_EXPORTED_RUNTIME_METHODS valid after 2.0.16

Pick-to: 6.2
Change-Id: Iff33e4c6f3176619fb35ec0994a7cc87b5d937c7
Reviewed-by: Morten Johan Sørvig <[email protected]>
  • Loading branch information
lpotter committed Jun 21, 2021
1 parent 08b4abe commit ae717aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/QtWasmHelpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ function (qt_internal_setup_wasm_target_properties wasmTarget)

target_link_options("${wasmTarget}" INTERFACE "SHELL:-s EXIT_RUNTIME=1"
"SHELL:-s ERROR_ON_UNDEFINED_SYMBOLS=1"
"SHELL:-s EXTRA_EXPORTED_RUNTIME_METHODS=UTF16ToString,stringToUTF16"
"SHELL:-s EXTRA_EXPORTED_RUNTIME_METHODS=[UTF16ToString,stringToUTF16]"
"SHELL:-s USE_WEBGL2=1"
"--bind"
"SHELL:-s FETCH=1")
Expand Down

0 comments on commit ae717aa

Please sign in to comment.