Skip to content

Commit cb82acc

Browse files
committed
More fixes to emscripten
1 parent 5a914d5 commit cb82acc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmake/yup_standalone.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,10 @@ function (yup_standalone_app)
185185
#-sASYNCIFY=1
186186
-sEXPORTED_RUNTIME_METHODS=ccall,cwrap
187187
-sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE='$dynCall'
188-
--shell-file "${YUP_ARG_CUSTOM_SHELL}")
188+
--shell-file=${YUP_ARG_CUSTOM_SHELL})
189189

190-
foreach (preload_file IN LISTS YUP_ARG_PRELOAD_FILES)
191-
list (APPEND additional_link_options --preload-file "${preload_file}")
190+
foreach (preload_file IN ITEMS ${YUP_ARG_PRELOAD_FILES})
191+
list (APPEND additional_link_options "--preload-file=${preload_file}")
192192
endforeach()
193193

194194
set (target_copy_dest "$<TARGET_FILE_DIR:${target_name}>")

0 commit comments

Comments
 (0)