From ee2580a056368e2fe5c9e026b3691d2e919c6fe9 Mon Sep 17 00:00:00 2001
From: Stanislaw Halik <sthalik@misaki.pl>
Date: Mon, 18 Mar 2019 15:28:11 +0100
Subject: cmake: no need for silent lupdate anymore

---
 cmake/opentrack-i18n.cmake | 8 --------
 1 file changed, 8 deletions(-)

(limited to 'cmake')

diff --git a/cmake/opentrack-i18n.cmake b/cmake/opentrack-i18n.cmake
index b5f908b6..1d471fb2 100644
--- a/cmake/opentrack-i18n.cmake
+++ b/cmake/opentrack-i18n.cmake
@@ -30,13 +30,6 @@ function(otr_i18n_for_target_directory n)
         endif()
     endforeach()
 
-    # whines about duplicate messages since tracker-pt-base is static
-    if(WIN32)
-        set(to-null "2>NUL")
-    else()
-        set(to-null "2>/dev/null")
-    endif()
-
     add_custom_command(OUTPUT "${stamp}"
                        COMMAND "${lupdate-binary}"
                        -I "${CMAKE_SOURCE_DIR}"
@@ -46,7 +39,6 @@ function(otr_i18n_for_target_directory n)
                        -locations none
                        .
                        -ts ${ts-files}
-                       ${to-null}
                        COMMAND "${CMAKE_COMMAND}" -E touch "${stamp}"
                        DEPENDS ${${k}-cc} ${${k}-hh} ${${k}-uih} ${${k}-moc}
                        COMMENT "Running lupdate for ${n}"
-- 
cgit v1.2.3