Skip to content

Commit bf54513

Browse files
committed
Fixes to wasm
1 parent 43b098d commit bf54513

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/yup_standalone.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ function (yup_standalone_app)
187187
-sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE='$dynCall','$stackTrace'
188188
--shell-file "${YUP_ARG_CUSTOM_SHELL}")
189189

190-
foreach (preload_file ${YUP_ARG_PRELOAD_FILES})
191-
list (APPEND additional_link_options --preload-file ${preload_file})
190+
foreach (preload_file IN LISTS ${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)