summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-04-18 06:55:07 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-04-18 06:55:07 +0200
commita40236a21d7dc83be0e9809cfb57a6098a5e6ace (patch)
tree4727de52bb4da893f744d3d76738bb9fa8c514d9 /cmake
parent52a34d749c6b977a8c1e13a1f0106fd624b5f40a (diff)
cmake: remove skip-translation-update cache var
Better way is to checkout .ts files from the current branch after running `make i18n'.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/opentrack-install.cmake7
1 files changed, 1 insertions, 6 deletions
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}")