From a6512861ea1383f1b30733708916e6ab481d0ee9 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Tue, 11 Apr 2023 15:32:46 +0200 Subject: [PATCH] Build: Fix result of ts_ targets Created .ts files with the wrong name. Amends 556e7315f7125be80397e9b5b29c994e5410acd4 Change-Id: I3c0199c564f47dce178a9d8218d5dacf8c75f78a Reviewed-by: Cristian Adam --- cmake/QtCreatorTranslations.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/QtCreatorTranslations.cmake b/cmake/QtCreatorTranslations.cmake index 51f33260232..7c795f65a09 100644 --- a/cmake/QtCreatorTranslations.cmake +++ b/cmake/QtCreatorTranslations.cmake @@ -58,7 +58,7 @@ function(_create_ts_custom_target name) set(_arg_TS_TARGET_PREFIX "ts_") endif() - set(ts_file "${CMAKE_CURRENT_SOURCE_DIR}/${_arg_FILE_PREFIX}_${l}.ts") + set(ts_file "${CMAKE_CURRENT_SOURCE_DIR}/${_arg_FILE_PREFIX}_${name}.ts") set(_sources "${_arg_SOURCES}") list(SORT _sources)