summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorJoel Johnson <mrjoel@stellarscience.com>2024-06-27 20:27:46 (GMT)
committerJoel Johnson <mrjoel@stellarscience.com>2024-06-27 21:23:27 (GMT)
commite0b73a32c18430151d29a54bf35fc8f8b975a25d (patch)
tree0a940a13a4f09a852e750ccdc03d2f20a6b53578 /Help
parent9ee9571b2e209fc507bcdcba06cd04db06da17a7 (diff)
downloadCMake-e0b73a32c18430151d29a54bf35fc8f8b975a25d.zip
CMake-e0b73a32c18430151d29a54bf35fc8f8b975a25d.tar.gz
CMake-e0b73a32c18430151d29a54bf35fc8f8b975a25d.tar.bz2
Help: Clarify using CPACK_THREADS as default
Diffstat (limited to 'Help')
-rw-r--r--Help/cpack_gen/archive.rst8
1 files changed, 2 insertions, 6 deletions
diff --git a/Help/cpack_gen/archive.rst b/Help/cpack_gen/archive.rst
index 7f7921d..5836f91 100644
--- a/Help/cpack_gen/archive.rst
+++ b/Help/cpack_gen/archive.rst
@@ -91,14 +91,10 @@ CPack generators which are essentially archives at their core. These include:
.. versionadded:: 3.18
- :Default: ``1``
+ :Default: value of :variable:`CPACK_THREADS`
If set to ``0``, the number of available cores on the machine will be used instead.
- The default is ``1`` which limits compression to a single thread. Note that
- not all compression modes support threading in all environments. Currently,
- only the XZ compression may support it.
-
- See also the :variable:`CPACK_THREADS` variable.
+ Note that not all compression modes support threading in all environments.
.. versionadded:: 3.21