diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2016-12-03 07:10:28 +0100 | 
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-12-03 07:10:28 +0100 | 
| commit | 388be5f883425419ed2e8362ed425a86839aa162 (patch) | |
| tree | e418c61a20dc17b5dbd0e44addacc2ace6541b27 /cmake | |
| parent | ac36fa53e970bf79d68499b52433d33ed994c4c5 (diff) | |
cmake: default to regen i18n on every build
Diffstat (limited to 'cmake')
| -rw-r--r-- | cmake/opentrack-install.cmake | 4 | 
1 files changed, 2 insertions, 2 deletions
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 "")  | 
