diff options
author | K. R. Walker <tyu@eridex.org> | 2024-08-19 18:00:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-08-19 18:25:31 (GMT) |
commit | b1f956529a7abefba03f5902ba187956c730afb9 (patch) | |
tree | a8cc30305a05b76c9e5f1a707b019e3ebefe5275 /Source/cmStringAlgorithms.cxx | |
parent | 97bb92ace5fa26e20a0d0f87131dce9567048985 (diff) | |
download | CMake-b1f956529a7abefba03f5902ba187956c730afb9.zip CMake-b1f956529a7abefba03f5902ba187956c730afb9.tar.gz CMake-b1f956529a7abefba03f5902ba187956c730afb9.tar.bz2 |
CPack/NSIS: Fix matching of reserved component names
"Console" unexpectedly matches the reserved name regex. This revealed
that `cmCPackNSISGenerator::CreateComponentDescription()` needs to use
the name returned by `GetSanitizedDirOrFileName()` for the component
file glob.
Fix the change from commit a1af593291 (CPack: Support arbitrary
component name when packaging, 2024-05-01, v3.30.0-rc1~151^2~1) to
address these issues and add related checks to the `CPackNSISGenerator`
test case.
Issue: #23612
Diffstat (limited to 'Source/cmStringAlgorithms.cxx')
0 files changed, 0 insertions, 0 deletions