From 388be5f883425419ed2e8362ed425a86839aa162 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 3 Dec 2016 07:10:28 +0100 Subject: cmake: default to regen i18n on every build --- cmake/opentrack-install.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmake') diff --git a/cmake/opentrack-install.cmake b/cmake/opentrack-install.cmake index 4b5db000..ccbdd5ad 100644 --- a/cmake/opentrack-install.cmake +++ b/cmake/opentrack-install.cmake @@ -72,8 +72,8 @@ function(merge_translations) list(APPEND all-deps "i18n-lang-${i}") install(FILES "${qm-output}" DESTINATION "${opentrack-i18n-pfx}" RENAME "${i}.qm" ${opentrack-perms}) endforeach() - set(SDK_REGEN_TRANSLATIONS_ON_BUILD FALSE CACHE BOOL "") - if(SDK_REGEN_TRANSLATIONS_ON_BUILD) + set(SDK_REGEN_TRANSLATIONS TRUE CACHE BOOL "Regenerate translation files on build") + if(SDK_REGEN_TRANSLATIONS) set(param ALL) else() set(param "") -- cgit v1.2.3