]> git.saurik.com Git - apt.git/commit
CMake: Translations: Don't rebuild .mo for line number changes
authorJulian Andres Klode <jak@debian.org>
Fri, 19 Aug 2016 13:52:14 +0000 (15:52 +0200)
committerJulian Andres Klode <jak@debian.org>
Fri, 19 Aug 2016 13:54:25 +0000 (15:54 +0200)
commitade5888b4107f3181abd2a7dd15d8b2b4a997f82
treee786a435c522e1125daf54d9f6a82c3d699be5b0
parentf23ca86fe037f13f744c588b07e4c9140a534894
CMake: Translations: Don't rebuild .mo for line number changes

If only the line numbers changed in a file without any of the
translatable strings changing, the .po and .mo files were
rebuilt, making building simple code changes somewhat annoying.

We can work around this by passing --add-location=file to msgcomm
when we are creating the temporary .pot file used for building
the .mo files.
CMake/Translations.cmake