i18n: make build reproducible
The RCC output files in version 2 contain a timestamp of the source file, which changes per build. Drop down to version 1, which just removes the timestamp. See reproducible builds note 'timestamps in source generated by rcc'. FIXES #917
This commit is contained in:
parent
a519be130c
commit
d4f0be02d3
@ -61,7 +61,7 @@ macro(add_calamares_translations language)
|
|||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT ${trans_outfile}
|
OUTPUT ${trans_outfile}
|
||||||
COMMAND "${Qt5Core_RCC_EXECUTABLE}"
|
COMMAND "${Qt5Core_RCC_EXECUTABLE}"
|
||||||
ARGS ${rcc_options} -name ${trans_file} -o ${trans_outfile} ${trans_infile}
|
ARGS ${rcc_options} --format-version 1 -name ${trans_file} -o ${trans_outfile} ${trans_infile}
|
||||||
MAIN_DEPENDENCY ${trans_infile}
|
MAIN_DEPENDENCY ${trans_infile}
|
||||||
DEPENDS ${QM_FILES}
|
DEPENDS ${QM_FILES}
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user