summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--cmake/opentrack-boilerplate.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake
index d08a1f6e..bea2b47a 100644
--- a/cmake/opentrack-boilerplate.cmake
+++ b/cmake/opentrack-boilerplate.cmake
@@ -217,6 +217,11 @@ function(otr_module n_)
otr_compat(${n})
if(NOT arg_NO-QT)
otr_i18n_for_target_directory(${n_})
+
+ foreach(k ${opentrack_all-translations})
+ set(i18n-target "i18n-lang-${k}-module-${n_}")
+ add_dependencies("${n}" "${i18n-target}")
+ endforeach()
endif()
set_property(GLOBAL APPEND PROPERTY opentrack-all-modules "${n}")