diff options
-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 "") |