Bug 797126 - It is annoying to run cmake to get an updated mo file

Add missing dependency in order to make the po-gmo and po-gmo-build targets acually work.
This commit is contained in:
Geert Janssens 2019-05-27 14:47:35 +02:00
parent 712714cf94
commit 8447f42674

View File

@ -35,6 +35,7 @@ foreach(lingua ${ALL_LINGUAS})
COMMAND ${CMAKE_COMMAND} -E env
${GETTEXT_MSGFMT_EXECUTABLE}
-o ${_OUTPUT_FILE} ${CMAKE_CURRENT_SOURCE_DIR}/${lingua}.po
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${lingua}.po
)
set(_BUILD_FILE_DIR ${DATADIR_BUILD}/locale/${lingua}/LC_MESSAGES)
make_directory(${_BUILD_FILE_DIR})