summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-i18n.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/opentrack-i18n.cmake')
-rw-r--r--cmake/opentrack-i18n.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/opentrack-i18n.cmake b/cmake/opentrack-i18n.cmake
index e1c86a39..7939049b 100644
--- a/cmake/opentrack-i18n.cmake
+++ b/cmake/opentrack-i18n.cmake
@@ -30,6 +30,7 @@ function(otr_i18n_for_target_directory n)
set(target-name "i18n-lang-${i}-module-${n}")
list(APPEND target-names "${target-name}")
add_custom_target(${target-name} DEPENDS "${t2}" "${t}" COMMENT "Updating translation strings for ${n}")
+ add_dependencies("opentrack-${n}" "${target-name}")
set_property(GLOBAL APPEND PROPERTY "opentrack-ts-files-${i}" "${t2}")
set_property(GLOBAL APPEND PROPERTY "opentrack-ts-module-${n}" "${target-name}")
endforeach()