summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio10Generator.cxx
diff options
context:
space:
mode:
authorPatrick Gansterer <paroga@paroga.com>2013-08-04 17:31:42 (GMT)
committerPatrick Gansterer <paroga@paroga.com>2013-08-05 11:38:32 (GMT)
commitc90151bd82740ba00ce9d8e72f4026118d5dfa0d (patch)
tree3e13b22638fa032287a2142ce616a8ad1000ece6 /Source/cmGlobalVisualStudio10Generator.cxx
parent3873d29d9e2243baf843ebcc9b8dafbe51cb6ae9 (diff)
downloadCMake-c90151bd82740ba00ce9d8e72f4026118d5dfa0d.zip
CMake-c90151bd82740ba00ce9d8e72f4026118d5dfa0d.tar.gz
CMake-c90151bd82740ba00ce9d8e72f4026118d5dfa0d.tar.bz2
VS: Unify how the name of the generator is specified
Use the value of the provided argument instead of using a fixed character buffer. This aligns VS10+VS11+VS12 with VS8+VS9.
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio10Generator.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.cxx b/Source/cmGlobalVisualStudio10Generator.cxx
index 4907c23..5643d9e 100644
--- a/Source/cmGlobalVisualStudio10Generator.cxx
+++ b/Source/cmGlobalVisualStudio10Generator.cxx
@@ -30,17 +30,17 @@ public:
if(!strcmp(name, vs10Win32generatorName))
{
return new cmGlobalVisualStudio10Generator(
- vs10Win32generatorName, NULL, NULL);
+ name, NULL, NULL);
}
if(!strcmp(name, vs10Win64generatorName))
{
return new cmGlobalVisualStudio10Generator(
- vs10Win64generatorName, "x64", "CMAKE_FORCE_WIN64");
+ name, "x64", "CMAKE_FORCE_WIN64");
}
if(!strcmp(name, vs10IA64generatorName))
{
return new cmGlobalVisualStudio10Generator(
- vs10IA64generatorName, "Itanium", "CMAKE_FORCE_IA64");
+ name, "Itanium", "CMAKE_FORCE_IA64");
}
return 0;
}