From a8de54eac9bab68b6f9fc7f12802926eed5f13f5 Mon Sep 17 00:00:00 2001 From: shenlebantongying Date: Sun, 9 Jun 2024 08:48:23 -0400 Subject: [PATCH] fix: ensure qt_add_translations works for all Qt6 versions --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 93b49bdb..33bf4be3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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