summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-02-25 17:17:23 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-02-25 17:17:23 +0100
commit872919602e2359367b72e699f405617fa6cebbb2 (patch)
tree21e7b4f5a688121dde69ff804019e0303eceb7e2 /cmake
parent0fe4606e854c8b1807b873dfeb478ae69861f1a7 (diff)
cmake/i18n: rebuild .qm if .ts changes
Diffstat (limited to 'cmake')
-rw-r--r--cmake/opentrack-install.cmake2
1 files changed, 1 insertions, 1 deletions
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}")