CPack/Archive: Allow setting the TOPLEVEL_DIRECTORY name
When creating e.g. a ZIP
file for all installed binaries using the CPack Archive Generator, there appears to be no way to define the name of the toplevel directory within the created archive.
One can only enable/disable the creation of the folder via the CPACK_INCLUDE_TOPLEVEL_DIRECTORY variable.
Please add a variable to set the name of the TOPLEVEL_DIRECTORY
.
See respective thread on discourse.cmake.org
Edited by Brad King