Skip to content

Commit

Permalink
Merge pull request #1552 from shenlebantongying/fix/cmake-qt_add_tran…
Browse files Browse the repository at this point in the history
…slations

fix: CMake, qt_add_translations build failure
  • Loading branch information
xiaoyifang authored Jun 11, 2024
2 parents e21d4c6 + a8de54e commit 0f0b86b
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 0f0b86b

Please sign in to comment.