mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 21:00:01 -05:00
bdf30bdad8
This allows setting how many threads the compressor will use. Currently only implemented for XZ when using system's lzma library. Fixes: #21715
8 lines
165 B
CMake
8 lines
165 B
CMake
install(FILES CMakeLists.txt DESTINATION foo COMPONENT test)
|
|
|
|
set(CPACK_THREADS 2)
|
|
|
|
if(PACKAGING_TYPE STREQUAL "COMPONENT")
|
|
set(CPACK_COMPONENTS_ALL test)
|
|
endif()
|