diff --git a/CMLibQtTranslation.cmake b/CMLibQtTranslation.cmake index aa11e8e..bb1c17d 100644 --- a/CMLibQtTranslation.cmake +++ b/CMLibQtTranslation.cmake @@ -40,7 +40,7 @@ function(qt_translation) add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/${_qm} COMMAND ${Qt5_LRELEASE_EXECUTABLE} ARGS ${_ts_dir}/${_ts} -qm ${CMAKE_BINARY_DIR}/${_qm} - DEPENDS ${_ts}) + DEPENDS ${_ts} ${_sources_list}) endforeach() configure_file(${CMLIB_MODULE_DIR}/qrc/l10n.qrc.in