summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio10Generator.cxx
diff options
context:
space:
mode:
authorPatrick Gansterer <paroga@paroga.com>2012-11-20 10:37:32 (GMT)
committerBrad King <brad.king@kitware.com>2012-11-26 14:33:26 (GMT)
commit102521b6b3172e32b2985c53eadc6eaebe90245d (patch)
treeff795cc3bc68f96107dfd4a9f073edc77567ff5c /Source/cmGlobalVisualStudio10Generator.cxx
parent332dc09d0de3b427eac8a36c3b0c1339daf7179c (diff)
downloadCMake-102521b6b3172e32b2985c53eadc6eaebe90245d.zip
CMake-102521b6b3172e32b2985c53eadc6eaebe90245d.tar.gz
CMake-102521b6b3172e32b2985c53eadc6eaebe90245d.tar.bz2
VS: Change variable type of ArchitectureId from const char* to string
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio10Generator.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.cxx b/Source/cmGlobalVisualStudio10Generator.cxx
index c218c97..d992036 100644
--- a/Source/cmGlobalVisualStudio10Generator.cxx
+++ b/Source/cmGlobalVisualStudio10Generator.cxx
@@ -144,8 +144,7 @@ void cmGlobalVisualStudio10Generator
::EnableLanguage(std::vector<std::string>const & lang,
cmMakefile *mf, bool optional)
{
- if(!strcmp(this->ArchitectureId, "Itanium") ||
- !strcmp(this->ArchitectureId, "x64"))
+ if(this->ArchitectureId == "Itanium" || this->ArchitectureId == "x64")
{
if(this->IsExpressEdition() && !this->Find64BitTools(mf))
{