diff options
author | Brad King <brad.king@kitware.com> | 2011-05-16 14:13:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-05-16 14:13:04 (GMT) |
commit | 3a8add058b09bc88fabb0ebe5bf59da95d7ebff2 (patch) | |
tree | b428829d6e8b2de8950710c10ed887f636219a24 /Source/cmLocalVisualStudio7Generator.cxx | |
parent | a77dfb6d64b24737167e4a0312fb842544f27961 (diff) | |
download | CMake-3a8add058b09bc88fabb0ebe5bf59da95d7ebff2.zip CMake-3a8add058b09bc88fabb0ebe5bf59da95d7ebff2.tar.gz CMake-3a8add058b09bc88fabb0ebe5bf59da95d7ebff2.tar.bz2 |
ENH: Fix Intel 12 plugin project generation for VS < 10
Suggested-by: Dick Munroe <munroe@csworks.com>
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index b9ffe62..7a62b9c 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -1770,10 +1770,14 @@ cmLocalVisualStudio7Generator vskey += "\\Packages\\" CM_INTEL_PLUGIN_GUID ";ProductVersion"; cmSystemTools::ReadRegistryValue(vskey.c_str(), intelVersion, cmSystemTools::KeyWOW64_32); - - // Version 10.1 actually uses 9.10 in project files! - if(intelVersion == "10.1") + if (intelVersion == "12.0") + { + // Version 12 actually uses 11.0 in project files! + intelVersion = "11.0" ; + } + else if(intelVersion == "10.1") { + // Version 10.1 actually uses 9.10 in project files! intelVersion = "9.10"; } |