fix: ensure qt_add_translations works for all Qt6 versions

This commit is contained in:
shenlebantongying 2024-06-09 08:48:23 -04:00
parent 34832d2abb
commit a8de54eac9

View file

@ -216,9 +216,7 @@ endif ()
qt_add_translations(${GOLDENDICT} TS_FILES ${TRANS_FILES}
QM_FILES_OUTPUT_VARIABLE qm_files)
if (WIN32) # TODO: check other OS
add_dependencies(${GOLDENDICT} "goldendict-ng_lrelease")
endif ()
add_dependencies(${GOLDENDICT} "release_translations")
#### installation or assemble redistribution