cmFindPackageCommand: Simplify cmStrCat

Replace an unnecessary single-character string_view in cmStrCat with a
literal character.
This commit is contained in:
Matthew Woehlke committed 2025-02-11 12:29:06 -05:00
1 parent 8137cf2822
commit caff0d62c6
1 file changed
+1 -1
+1 -1
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))) {