Fix rcc call for translation resources.

This commit is contained in:
Teo Mrnjavac 2014-11-07 15:22:08 +01:00
parent d3d9ea130c
commit 22c2d96650

View file

@ -39,7 +39,7 @@ macro(add_calamares_translations language)
# Run the resource compiler (rcc_options should already be set) # Run the resource compiler (rcc_options should already be set)
add_custom_command( add_custom_command(
OUTPUT ${trans_outfile} OUTPUT ${trans_outfile}
COMMAND ${QT_RCC_EXECUTABLE} COMMAND "${Qt5Core_RCC_EXECUTABLE}"
ARGS ${rcc_options} -name ${trans_file} -o ${trans_outfile} ${trans_infile} ARGS ${rcc_options} -name ${trans_file} -o ${trans_outfile} ${trans_infile}
MAIN_DEPENDENCY ${trans_infile} MAIN_DEPENDENCY ${trans_infile}
DEPENDS ${QM_FILES} DEPENDS ${QM_FILES}