summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-02-16 11:06:52 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-02-16 12:55:40 +0100
commit5a8c8f1d45997165396502e9404ed371e5ae59fe (patch)
tree97d48aff5b8b174a16813288f87c678420aea30c
parentef210198aa71e012b885f81e6913ab7521faeb16 (diff)
cmake/i18n: oops, fix lupdate invocation
Some options weren't working, like -silent Issue: #748
-rw-r--r--cmake/opentrack-i18n.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/opentrack-i18n.cmake b/cmake/opentrack-i18n.cmake
index 3d384595..ba09036e 100644
--- a/cmake/opentrack-i18n.cmake
+++ b/cmake/opentrack-i18n.cmake
@@ -11,13 +11,13 @@ function(otr_i18n_for_target_directory n)
add_custom_command(OUTPUT "${t2}"
COMMAND "${CMAKE_COMMAND}" -E make_directory "${CMAKE_CURRENT_SOURCE_DIR}/lang"
COMMAND "${CMAKE_COMMAND}" -E make_directory "${CMAKE_CURRENT_BINARY_DIR}/lang"
- COMMAND "${lupdate-binary}" .
+ COMMAND "${lupdate-binary}"
-I "${CMAKE_SOURCE_DIR}"
-silent
-recursive
-no-obsolete
-locations none
- -no-ui-lines
+ .
-ts "${t}"
COMMAND "${CMAKE_COMMAND}" -E copy "${t}" "${t2}"
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"