mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-23 00:34:22 +00:00
make SIZE resource overriding work again
This commit is contained in:
parent
5639d39ae7
commit
7f8a62f686
@ -55,8 +55,14 @@ function(add_application name)
|
||||
set_target_properties(${name} PROPERTIES LINKER_LANGUAGE CXX)
|
||||
endif()
|
||||
|
||||
foreach(f ${rsrc_files})
|
||||
list(APPEND ARGS_MAKEAPPL_ARGS "--copy" "${f}")
|
||||
foreach(f ${rsrc_files})
|
||||
# DO NOT add --copy here.
|
||||
# The files in rsrc_files are guaranteed to be .rsrc or .rsrc.bin, so they
|
||||
# will be recognized by Rez.
|
||||
# Currently, the --copy flag has the side effect that Rez processes all --copy inputs
|
||||
# before other inputs, so this messes up the overriding mechanics, leading to the wrong SIZE resource
|
||||
# being included. (duplicate resources shouldn't be replaced silently, and overriding should be explicit...)
|
||||
list(APPEND ARGS_MAKEAPPL_ARGS "${f}")
|
||||
endforeach()
|
||||
|
||||
if(NOT ARGS_TYPE)
|
||||
|
Loading…
Reference in New Issue
Block a user