summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorZaheer Chothia <zaheer.chothia@gmail.com>2012-06-01 22:47:00 (GMT)
committerBrad King <brad.king@kitware.com>2012-06-06 16:23:25 (GMT)
commit8945489c0727e5d9321a817fdb19c750dfcb1045 (patch)
tree4ffa95f2261f8641fe57260822dca12d71951d0c /Source
parente200ee6ece3d0345804f8eb94fbda2bd5df9272f (diff)
downloadCMake-8945489c0727e5d9321a817fdb19c750dfcb1045.zip
CMake-8945489c0727e5d9321a817fdb19c750dfcb1045.tar.gz
CMake-8945489c0727e5d9321a817fdb19c750dfcb1045.tar.bz2
VS: Set Intel Fortran 13 project version
I have tested that it works with: Microsoft Visual Studio 10.0.40219.1 Intel Visual Fortran 13.0.0.041 Beta Build 20120425
Diffstat (limited to 'Source')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index 9faf46d..f2ab79d 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -1933,9 +1933,11 @@ cmLocalVisualStudio7Generator
vskey += "\\Packages\\" CM_INTEL_PLUGIN_GUID ";ProductVersion";
cmSystemTools::ReadRegistryValue(vskey.c_str(), intelVersion,
cmSystemTools::KeyWOW64_32);
- if (intelVersion.find("12") == 0 || (intelVersion.find("11") == 0))
+ if (intelVersion.find("13") == 0 ||
+ intelVersion.find("12") == 0 ||
+ intelVersion.find("11") == 0)
{
- // Version 11.x and 12.x actually use 11.0 in project files!
+ // Version 11.x, 12.x, and 13.x actually use 11.0 in project files!
intelVersion = "11.0" ;
}
else if(intelVersion.find("10") == 0)