Skip to content

Commit

Permalink
fix: ensure qt_add_translations works for all Qt6 versions
Browse files Browse the repository at this point in the history
  • Loading branch information
shenlebantongying committed Jun 9, 2024
1 parent 34832d2 commit a8de54e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a8de54e

Please sign in to comment.