summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorDavid Skoland <david.skoland@qt.io>2021-10-11 14:25:54 +0200
committerDavid Skoland <david.skoland@qt.io>2021-10-13 05:03:02 +0200
commit58d64b770a6f8f93613af1ca1a316901f4f39631 (patch)
tree9e17e8664848cfd5e65555a3be03135b9fd89d45 /cmake
parent2bd3c53a9586f37311e4f860685839b127cc9308 (diff)
Rename variable for exported functions
Emscripten complains that this variable is deprecated and should be replaced with the one given in this patch. Change-Id: Iafee06fcb1f292de25570545d74d7327679461b0 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QtWasmHelpers.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/QtWasmHelpers.cmake b/cmake/QtWasmHelpers.cmake
index b80f0d0e18..d3734c287b 100644
--- a/cmake/QtWasmHelpers.cmake
+++ b/cmake/QtWasmHelpers.cmake
@@ -3,7 +3,7 @@ function (qt_internal_setup_wasm_target_properties wasmTarget)
target_link_options("${wasmTarget}" INTERFACE
"SHELL:-s ERROR_ON_UNDEFINED_SYMBOLS=1"
- "SHELL:-s EXTRA_EXPORTED_RUNTIME_METHODS=[UTF16ToString,stringToUTF16]"
+ "SHELL:-s EXPORTED_RUNTIME_METHODS=[UTF16ToString,stringToUTF16]"
"SHELL:-s USE_WEBGL2=1"
"--bind"
"SHELL:-s FETCH=1")