Fix emscripten preload file not working for a symlinked directory
This commit is contained in:
1 parent
b2a92847e6
commit
5f713ab920
1 file changed
+1
-1
@@ -32,7 +32,7 @@ if(EMSCRIPTEN_PRELOAD_FILE)
|
||||
if(NOT EXISTS "${CMAKE_SOURCE_DIR}/${BASEGAME}")
|
||||
message(FATAL_ERROR "No files in '${BASEGAME}' directory for emscripten to preload.")
|
||||
endif()
|
||||
list(APPEND CLIENT_LINK_OPTIONS "--preload-file ${BASEGAME}")
|
||||
list(APPEND CLIENT_LINK_OPTIONS --preload-file "${BASEGAME}")
|
||||
endif()
|
||||
|
||||
set(POST_CLIENT_CONFIGURE_FUNCTION deploy_shell_files)
|
||||
|
||||
Reference in new issue
Block a user