diff options
author | Brad King <brad.king@kitware.com> | 2009-09-28 14:00:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-09-28 14:00:14 (GMT) |
commit | 6f010f1c407704eea31c889fb8cf54f477e1d9c7 (patch) | |
tree | 709ef0d37a655cb05fcd815e00788817f8c5a4f3 /Source | |
parent | 6c59b924d2892191981f5fda94d8211d337d71c5 (diff) | |
download | CMake-6f010f1c407704eea31c889fb8cf54f477e1d9c7.zip CMake-6f010f1c407704eea31c889fb8cf54f477e1d9c7.tar.gz CMake-6f010f1c407704eea31c889fb8cf54f477e1d9c7.tar.bz2 |
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.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
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 << "<?xml version=\"1.0\" encoding = \"Windows-1252\"?>\n" << "<VisualStudioProject\n" << "\tProjectCreator=\"Intel Fortran\"\n" |