Commit 6f010f1c authored by Brad King's avatar Brad King

Fix .vfproj file version for Intel Fortran 10.1

The commit "Generate proper Intel Fortran project version" replaced the
hard-coded 9.10 value with a runtime registry lookup of the real
version.  Version 10.1 actually uses project file format 9.10, so this
commit switches it back for that version.  See issue #9169.
parent 6c59b924
......@@ -1688,6 +1688,12 @@ cmLocalVisualStudio7Generator
cmSystemTools::ReadRegistryValue(vskey.c_str(), intelVersion,
cmSystemTools::KeyWOW64_32);
// Version 10.1 actually uses 9.10 in project files!
if(intelVersion == "10.1")
{
intelVersion = "9.10";
}
fout << "<?xml version=\"1.0\" encoding = \"Windows-1252\"?>\n"
<< "<VisualStudioProject\n"
<< "\tProjectCreator=\"Intel Fortran\"\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment