From: Arun Kumar Pariyar Date: Mon, 17 Feb 2025 15:45:57 -0500 Subject: Fix ftbfs in double build with ts Bug-Debian: https://bugs.debian.org/1045124 Last-Update: 2024-09-14 Last-Update: 2024-09-14 --- src/CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5125380..3302011 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -87,10 +87,6 @@ file(GLOB TargetTsFiles LIST_DIRECTORIES false ../translations/${CMD_NAME}*.ts) set_directory_properties(PROPERTIES CLEAN_NO_CUSTOM 1) -if (NOT (${CMAKE_BUILD_TYPE} MATCHES "Debug")) - qt5_create_translation(LangSrcs ${allSource} ${allHeaders} ${TargetTsFiles} - OPTIONS ) -endif () qt5_add_translation(${TargetTsFiles}) set_source_files_properties(${qmfiles} PROPERTIES OUTPUT_LOCATION "translations")