From 872919602e2359367b72e699f405617fa6cebbb2 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 25 Feb 2017 17:17:23 +0100 Subject: cmake/i18n: rebuild .qm if .ts changes --- cmake/opentrack-install.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake/opentrack-install.cmake') diff --git a/cmake/opentrack-install.cmake b/cmake/opentrack-install.cmake index df9e38fc..c42ecd91 100644 --- a/cmake/opentrack-install.cmake +++ b/cmake/opentrack-install.cmake @@ -67,7 +67,7 @@ function(merge_translations) add_custom_command(OUTPUT "${qm-output}" COMMAND "${Qt5_DIR}/../../../bin/lrelease" -nounfinished -silent ${ts} -qm "${qm-output}" - DEPENDS ${deps} + DEPENDS ${deps} ${ts} COMMENT "Running lrelease for ${i}") add_custom_target(i18n-lang-${i} ALL DEPENDS "${qm-output}") -- cgit v1.2.3