From 03aefa1491b1562ddfc8f6da13130223132317d0 Mon Sep 17 00:00:00 2001
From: Stanislaw Halik <sthalik@misaki.pl>
Date: Tue, 14 Dec 2021 16:38:17 +0100
Subject: cmake: fix i18n not updating

---
 cmake/opentrack-i18n.cmake | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmake/opentrack-i18n.cmake b/cmake/opentrack-i18n.cmake
index f3b53895..e3da19d7 100644
--- a/cmake/opentrack-i18n.cmake
+++ b/cmake/opentrack-i18n.cmake
@@ -49,6 +49,7 @@ function(otr_i18n_for_target_directory n)
                        ${to-null}
                        COMMAND "${CMAKE_COMMAND}" -E touch "${stamp}"
                        DEPENDS ${${k}-cc} ${${k}-hh} ${${k}-uih} ${${k}-moc}
+                       BYPRODUCTS ${ts-files}
                        COMMENT "Running lupdate for ${n}"
                        WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}")
     set(target-name "i18n-module-${n}")
-- 
cgit v1.2.3