diff options
author | Rodolfo Lima <rlima@nvidia.com> | 2021-01-18 18:28:46 (GMT) |
---|---|---|
committer | Rodolfo Lima <rlima@nvidia.com> | 2021-01-26 15:23:37 (GMT) |
commit | bdf30bdad8dfad258bbc8d387a91f66bee3d0c0f (patch) | |
tree | 7b818b22b22c9e35bd04e68a851b3d39cd70bf6f /Help/cpack_gen | |
parent | bcdb5b52a06cb98bd09da7410488ff9d5617b27f (diff) | |
download | CMake-bdf30bdad8dfad258bbc8d387a91f66bee3d0c0f.zip CMake-bdf30bdad8dfad258bbc8d387a91f66bee3d0c0f.tar.gz CMake-bdf30bdad8dfad258bbc8d387a91f66bee3d0c0f.tar.bz2 |
CPack: add CPACK_THREADS variable to control compression threads
This allows setting how many threads the compressor will use.
Currently only implemented for XZ when using system's lzma library.
Fixes: #21715
Diffstat (limited to 'Help/cpack_gen')
-rw-r--r-- | Help/cpack_gen/archive.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Help/cpack_gen/archive.rst b/Help/cpack_gen/archive.rst index 98b24ea..b941812 100644 --- a/Help/cpack_gen/archive.rst +++ b/Help/cpack_gen/archive.rst @@ -80,6 +80,8 @@ CPack generators which are essentially archives at their core. These include: 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:: Official CMake binaries available on ``cmake.org`` ship with a ``liblzma`` |