| 1 |
From: Arun Kumar Pariyar <[email protected]> |
| 2 |
Date: Mon, 17 Feb 2025 15:45:57 -0500 |
| 3 |
Subject: Fix ftbfs in double build with ts |
| 4 |
|
| 5 |
Bug-Debian: https://bugs.debian.org/1045124 |
| 6 |
Last-Update: 2024-09-14 |
| 7 |
|
| 8 |
Last-Update: 2024-09-14 |
| 9 |
--- |
| 10 |
src/CMakeLists.txt | 4 ---- |
| 11 |
1 file changed, 4 deletions(-) |
| 12 |
|
| 13 |
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt |
| 14 |
index 5125380..3302011 100644 |
| 15 |
--- a/src/CMakeLists.txt |
| 16 |
+++ b/src/CMakeLists.txt |
| 17 |
@@ -87,10 +87,6 @@ file(GLOB TargetTsFiles LIST_DIRECTORIES false ../translations/${CMD_NAME}*.ts) |
| 18 |
|
| 19 |
set_directory_properties(PROPERTIES CLEAN_NO_CUSTOM 1) |
| 20 |
|
| 21 |
-if (NOT (${CMAKE_BUILD_TYPE} MATCHES "Debug")) |
| 22 |
- qt5_create_translation(LangSrcs ${allSource} ${allHeaders} ${TargetTsFiles} |
| 23 |
- OPTIONS ) |
| 24 |
-endif () |
| 25 |
qt5_add_translation(${TargetTsFiles}) |
| 26 |
set_source_files_properties(${qmfiles} PROPERTIES OUTPUT_LOCATION "translations") |
| 27 |
|