file(ARCHIVE_CREATE): Allow higher compression level for Zstd
requested to merge amirmasoudabdol/cmake:allow-zstd-compression-level-to-be-as-high-as-19 into master
This allows the Zstd compression-level to be set between 0-19. I’ve adjusted some of the tests, and error messages to indicates the selected algorithm, and min/max of its compression-level.
P.S. This implementation can be more granular by creating a map of ranges for each algorithm, but since they were all very similar, I decided to just modify the maxCompressionLevel
in the case of Zstd.
Fixes: #24160 (closed)
Topic-rename: file-archive-zstd-compression-level
Edited by Brad King