From 6f010f1c407704eea31c889fb8cf54f477e1d9c7 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 28 Sep 2009 10:00:14 -0400 Subject: 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. --- Source/cmLocalVisualStudio7Generator.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index 10b4ffa..b540c99 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -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 << "\n" << "