From f168386296177c0d4c16ccd814edb4b6c327b8b1 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Tue, 14 Apr 2020 09:11:01 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B0=20?= =?UTF-8?q?=D1=81=20=D0=B8=D0=BC=D0=B5=D0=BD=D0=B5=D0=BC=20=D1=81=D0=BF?= =?UTF-8?q?=D0=B8=D1=81=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMLibQtTranslation.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMLibQtTranslation.cmake b/CMLibQtTranslation.cmake index 117cf0a..aeaed95 100644 --- a/CMLibQtTranslation.cmake +++ b/CMLibQtTranslation.cmake @@ -18,7 +18,7 @@ function(qt5_translation outfiles) set(_ts "${_base_name}_${_lang}.ts") set(_qm "${_base_name}_${_lang}.qm") list(APPEND _ts_list ${_output_dir}/${_ts}) - list(APPEND _l10n_names "${_base_name}_l10n_${_lang}") + list(APPEND _l10n_names_list "${_base_name}_l10n_${_lang}") string(APPEND L10N_QRC_BODY "${CMAKE_BINARY_DIR}/${_qm}\n") add_custom_target( @@ -39,7 +39,7 @@ function(qt5_translation outfiles) configure_file(${CMLIB_MODULE_DIR}/qrc/l10n.qrc.in ${CMAKE_BINARY_DIR}/${_base_name}_l10n.qrc) qt5_add_resources(${outfiles} ${CMAKE_BINARY_DIR}/${_base_name}_l10n.qrc) add_custom_target(${_base_name}_qrc DEPENDS ${_qrc}) - add_custom_target(${_base_name}_l10n DEPENDS ${_l10n_targets}) + add_custom_target(${_base_name}_l10n DEPENDS ${_l10n_names_list}) if(NOT TARGET l10n) add_custom_target(l10n) endif()