aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2024-02-17 15:35:35 +0200
committerLasse Collin <lasse.collin@tukaani.org>2024-02-19 12:21:37 +0200
commit50cc1d8a5a8154428bf240c7e4972e32b17d99bf (patch)
treef0f0ecbdb91ddaaa91892c4cfbed165f6552589b /src/common
parentliblzma: Remove commented-out code. (diff)
downloadxz-50cc1d8a5a8154428bf240c7e4972e32b17d99bf.tar.xz
CMake: Add support for building and installing xz with translations.
If gettext tools are available, the .po files listed in po/LINGUAS are converted using msgfmt. This allows building with translations directly from xz.git without Autotools. If gettext tools aren't available, the Autotools-created .gmo files in the "po" directory will be used. This allows CMake-based build to use translations from Autotools-generated tarball. If translation support is found (Intl_FOUND) but both the gettext tools and the pre-generated .gmo files are missing, then "make" will fail.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions