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.
pull/515/head
Geert Janssens 7 years ago
parent 712714cf94
commit 8447f42674

@ -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})

Loading…
Cancel
Save