Add missing dependency to CMake's msgfmt

This could have lead to situation when CMake wouldn't re-generate
.mo file from changed .po file.
This commit is contained in:
Sergey Sharybin
2014-06-16 13:21:33 +06:00
parent c95d093e81
commit db750b9843

View File

@@ -1006,7 +1006,7 @@ macro(msgfmt_simple
OUTPUT ${_file_to}
COMMAND ${CMAKE_COMMAND} -E make_directory ${_file_to_path}
COMMAND ${CMAKE_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/msgfmt ${_file_from} ${_file_to}
DEPENDS msgfmt)
DEPENDS msgfmt ${_file_from})
set_source_files_properties(${_file_to} PROPERTIES GENERATED TRUE)