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.
This commit is contained in:
parent
6c59b924d2
commit
6f010f1c40
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user