From a40236a21d7dc83be0e9809cfb57a6098a5e6ace Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 18 Apr 2017 06:55:07 +0200 Subject: cmake: remove skip-translation-update cache var Better way is to checkout .ts files from the current branch after running `make i18n'. --- cmake/opentrack-install.cmake | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'cmake') diff --git a/cmake/opentrack-install.cmake b/cmake/opentrack-install.cmake index 0dd5cc7d..e0d73d5f 100644 --- a/cmake/opentrack-install.cmake +++ b/cmake/opentrack-install.cmake @@ -48,7 +48,6 @@ otr_inst2("${opentrack-doc-src-pfx}" FILES "${CMAKE_SOURCE_DIR}/OPENTRACK-LICENS otr_inst2("${opentrack-doc-src-pfx}" FILES "${CMAKE_SOURCE_DIR}/AUTHORS.md") function(merge_translations) - set(SDK_SKIP_TRANSLATION_UPDATE FALSE CACHE BOOL "") install(CODE "file(REMOVE_RECURSE \"\${CMAKE_INSTALL_PREFIX}/i18n\")") set(all-ts-files "") @@ -73,11 +72,7 @@ function(merge_translations) endforeach() if(NOT ".${ts-files}" STREQUAL ".") - if(SDK_SKIP_TRANSLATION_UPDATE) - set(lrelease-deps "") - else() - set(lrelease-deps "${ts-files}") - endif() + set(lrelease-deps "${ts-files}") set(qm-output "${CMAKE_CURRENT_BINARY_DIR}/${i}.qm") list(APPEND all-qm-files "${qm-output}") -- cgit v1.2.3