diff --git a/lang/translations.cmake b/lang/translations.cmake index d33178894..dddad3149 100644 --- a/lang/translations.cmake +++ b/lang/translations.cmake @@ -39,7 +39,7 @@ macro(add_calamares_translations language) # Run the resource compiler (rcc_options should already be set) add_custom_command( OUTPUT ${trans_outfile} - COMMAND ${QT_RCC_EXECUTABLE} + COMMAND "${Qt5Core_RCC_EXECUTABLE}" ARGS ${rcc_options} -name ${trans_file} -o ${trans_outfile} ${trans_infile} MAIN_DEPENDENCY ${trans_infile} DEPENDS ${QM_FILES}