Skip to content

Commit 480065b

Browse files
committed
Fixed #14169 (cmake: ts files generated by cmake is not robust)
1 parent c9c660e commit 480065b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

gui/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,8 @@ CheckOptions:
1212
file(GLOB hdrs "*.h")
1313
file(GLOB srcs "*.cpp")
1414
file(GLOB uis "*.ui")
15-
file(GLOB tss "*.ts")
1615
QT_WRAP_UI(uis_hdrs ${uis})
1716
QT_ADD_RESOURCES(resources "gui.qrc")
18-
# TODO: passing "-no-obsolete" here breaks the translations
19-
QT_CREATE_TRANSLATION(qms ${CMAKE_CURRENT_SOURCE_DIR} ${tss})
2017
list(APPEND cppcheck-gui-deps ${hdrs} ${uis_hdrs} ${resources} ${qms})
2118
add_custom_target(gui-build-deps SOURCES ${cppcheck-gui-deps})
2219

0 commit comments

Comments
 (0)