VS: Fix incorrect XML in Fortran projects

This change has no impact because the incorrect XML is technically
valid and the Fortran VS extension ignores the ProjectGUID attribute
anyway.

Fixes: #11437
This commit is contained in:
Nikita Nemkin 2025-03-09 01:29:06 +05:00
parent 24a1a7ac5d
commit 9e581043ac

View File

@ -2043,7 +2043,7 @@ void cmLocalVisualStudio7Generator::WriteProjectStartFortran(
}
this->WriteProjectSCC(fout, target);
/* clang-format off */
fout<< "\tKeyword=\"" << keyword << "\">\n"
fout<< "\tKeyword=\"" << keyword << "\"\n"
"\tProjectGUID=\"{" << gg->GetGUID(libName) << "}\">\n"
"\t<Platforms>\n"
"\t\t<Platform\n\t\t\tName=\"" << gg->GetPlatformName() << "\"/>\n"