From 79bce57a20e7d4226f3c33760ded9095d66a1b50 Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Wed, 28 Aug 2019 20:24:48 +0200 Subject: [PATCH] cmake: Don't needlessly sync translations A mismatch in the stamp file name for syncing translations caused the sync to be run for every make. Fix the naming so we don't re-run the syncing needlessly. --- po/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index e7df6271..8e5a45f7 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -51,14 +51,14 @@ if (TARGET Qt5::lconvert) COMMAND $ -silent ${CMAKE_SOURCE_DIR}/src -ts ${tsfiles} COMMAND ${CMAKE_COMMAND} -E touch tsfiles.done DEPENDS ${tsfiles} - OUTPUT tsfiles.depends + OUTPUT tsfiles.done ) # Generate the final translation files (.qm) for use by Qt add_custom_command(VERBATIM COMMENT "Compressing translations" COMMAND $ -silent ${tsfiles} - DEPENDS tsfiles.depends + DEPENDS tsfiles.done OUTPUT ${qmfiles} ) -- 2.20.1