cmFindPackageCommand: Simplify cmStrCat

Replace an unnecessary single-character string_view in cmStrCat with a
literal character.
This commit is contained in:
Matthew Woehlke 2025-02-11 12:29:06 -05:00
parent 8137cf2822
commit caff0d62c6

View File

@ -2022,7 +2022,7 @@ bool cmFindPackageCommand::ImportPackageTargets(std::string const& fileName,
cmsys::Glob glob;
glob.RecurseOff();
if (glob.FindFiles(
cmStrCat(cmSystemTools::GetFilenamePath(fileName), "/"_s,
cmStrCat(cmSystemTools::GetFilenamePath(fileName), '/',
cmSystemTools::GetFilenameWithoutExtension(fileName),
"@*.[Cc][Pp][Ss]"_s))) {