CPack: Format CPACK_THREADS compression methods as a definition list

Prepare to add more entries beyond `xz`.
This commit is contained in:
Brad King
2022-02-22 15:31:37 -05:00
parent 176407736e
commit 29f63129be
+12 -7
View File
@@ -304,15 +304,20 @@ installers. The most commonly-used variables are:
By default ``CPACK_THREADS`` is set to ``1``.
Currently only ``xz`` compression *may* take advantage of multiple cores.
The following compression methods may take advantage of multiple cores:
``xz``
Supported if CMake is built with a ``liblzma`` that supports
parallel compression.
.. versionadded:: 3.21
Official CMake binaries available on ``cmake.org`` now ship
with a ``liblzma`` that supports parallel compression.
Older versions did not.
Other compression methods ignore this value and use only one thread.
.. versionadded:: 3.21
Official CMake binaries available on ``cmake.org`` now ship
with a ``liblzma`` that supports parallel compression.
Older versions did not.
Variables for Source Package Generators
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^