Fix PyQt5TranslationMacros.cmake so translation files actually depend on the source.

This commit is contained in:
AnyOldName3
2018-09-30 18:03:13 +01:00
parent 2947033d31
commit fb487130ac
+1 -1
View File
@@ -79,7 +79,7 @@ function(PYQT5_CREATE_TRANSLATION _qm_files)
add_custom_command(OUTPUT ${_ts_file}
COMMAND ${PYTHON_ROOT}/pylupdate5.bat
ARGS ${_lupdate_options} ${_lst_file_srcs} -ts ${_ts_file}
DEPENDS ${_my_sources} ${_ts_lst_file}
DEPENDS ${_lst_file_srcs} ${_ts_lst_file}
WORKING_DIRECTORY ${PYTHON_ROOT}
VERBATIM)
endforeach()