Skip to content

Commit 3b6e3ff

Browse files
committed
STYLE: i18n: Simplify buildsystem removing RewritePythonScriptsForTranslation target
1 parent 53f379c commit 3b6e3ff

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

CMake/SlicerMacroTranslation.cmake

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ function(SlicerFunctionAddGenerateSlicerTranslationQMFilesTarget)
108108

109109
# ---------------------------------------------------------------------------------
110110
set(qm_output_dirs)
111-
set(rewritten_scripts_to_translate)
112111

113112
# ---------------------------------------------------------------------------------
114113
# UPDATE or ADD translation
@@ -162,18 +161,12 @@ function(SlicerFunctionAddGenerateSlicerTranslationQMFilesTarget)
162161
QT5_ADD_TRANSLATION(QM_OUTPUT_FILES ${ts_files})
163162
endif()
164163

165-
list(APPEND rewritten_scripts_to_translate ${rewritten_scripts_to_translate_for_context})
166164
list(APPEND qm_output_dirs ${qm_output_dir})
167165
endforeach()
168166

169167
# ---------------------------------------------------------------------------------
170168
# Targets
171169
# ---------------------------------------------------------------------------------
172-
if(Slicer_USE_PYTHONQT)
173-
add_custom_target(RewritePythonScriptsForTranslation DEPENDS
174-
${rewritten_scripts_to_translate}
175-
)
176-
endif()
177170

178171
add_custom_target(GenerateSlicerTranslationQMFiles ALL DEPENDS
179172
${QM_OUTPUT_FILES}

0 commit comments

Comments
 (0)