From c4e896c85279109cf9118e9087717e71d3ff97cc Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 23 May 2018 00:56:43 +0200 Subject: cmake/i18n: add i18n dependency for targets Hopefully helps with differing build tools. --- cmake/opentrack-i18n.cmake | 1 + 1 file changed, 1 insertion(+) 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() -- cgit v1.2.3