From 628d8d2c4fdf9e6a91c7bba7a743f400a94c2909 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Tue, 2 Jul 2024 20:19:47 +0300 Subject: [PATCH] CMake: Update the comment at the top of CMakeLists.txt While po/*.gmo files won't be used from the release tarball, the generated translated man pages will be used still. Those are text files and po4a has slightly more dependencies than gettext tools so installing po4a might be a bit more challenging in some situations. --- CMakeLists.txt | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3612dc94..6a64fd31 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,13 @@ # # - Generated liblzma.pc won't be relocatable. # +# To get translated messages, install GNU gettext tools (the command msgfmt +# is needed). Alternatively disable translations by setting XZ_NLS=OFF. +# +# If building from xz.git instead of a release tarball: To generate +# translated man pages, run po4a/update-po which requires the po4a tool. +# The build works without this step too. +# # About CMAKE_BUILD_TYPE: # # - CMake's standard choices are fine to use for production builds, @@ -42,16 +49,6 @@ # SHOULD BE AVOIDED FOR PRODUCTION BUILDS. Or at least one # should remember to add -DNDEBUG. # -# If building from xz.git instead of a release tarball, consider -# the following *before* running cmake: -# -# - To get translated messages, install GNU gettext tools (the -# command msgfmt is needed). Alternatively disable translations -# by setting XZ_NLS=OFF. -# -# - To get translated man pages, run po4a/update-po which requires -# the po4a tool. The build works without this step too. -# # This file provides the following installation components (if you only # need liblzma, install only its components!): # - liblzma_Runtime (shared library only)