From 4514286d072946d4b0a3ae25e017d2d937865661 Mon Sep 17 00:00:00 2001 From: Jmgr Date: Sat, 9 Nov 2024 19:24:41 +0000 Subject: [PATCH] Fix compilation of translations --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 82d5dad0..f312c486 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,7 +58,7 @@ function(compile_translations TARGET) # Add other translations here ) set_source_files_properties(${TS_FILES} PROPERTIES OUTPUT_LOCATION ${CMAKE_BINARY_DIR}/translations) - qt6_add_translation(${TARGET} QM_FILES ${TS_FILES}) + qt6_add_translation(QM_FILES ${TS_FILES}) add_custom_target(${TARGET}_translations ALL DEPENDS ${QM_FILES}) endfunction()