Skip to content

Commit 5f713ab

Browse files
justinl1996timangus
authored andcommitted
Fix emscripten preload file not working for a symlinked directory
1 parent b2a9284 commit 5f713ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmake/platforms/emscripten.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ if(EMSCRIPTEN_PRELOAD_FILE)
3232
if(NOT EXISTS "${CMAKE_SOURCE_DIR}/${BASEGAME}")
3333
message(FATAL_ERROR "No files in '${BASEGAME}' directory for emscripten to preload.")
3434
endif()
35-
list(APPEND CLIENT_LINK_OPTIONS "--preload-file ${BASEGAME}")
35+
list(APPEND CLIENT_LINK_OPTIONS --preload-file "${BASEGAME}")
3636
endif()
3737

3838
set(POST_CLIENT_CONFIGURE_FUNCTION deploy_shell_files)

0 commit comments

Comments
 (0)