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.
This commit is contained in:
Lasse Collin 2024-07-02 20:19:47 +03:00
parent b4b23c94fd
commit 628d8d2c4f
1 changed files with 7 additions and 10 deletions

View File

@ -11,6 +11,13 @@
# #
# - Generated liblzma.pc won't be relocatable. # - 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: # About CMAKE_BUILD_TYPE:
# #
# - CMake's standard choices are fine to use for production builds, # - 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 BE AVOIDED FOR PRODUCTION BUILDS. Or at least one
# should remember to add -DNDEBUG. # 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 # This file provides the following installation components (if you only
# need liblzma, install only its components!): # need liblzma, install only its components!):
# - liblzma_Runtime (shared library only) # - liblzma_Runtime (shared library only)