summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio6Generator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-11-20 16:55:28 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-11-20 16:55:28 (GMT)
commit268448b89151cf80ac9d4d0ea974a2d4f17c3cd5 (patch)
treeea1099a2ffc78c99939bbab38d2e038d040fb15d /Source/cmGlobalVisualStudio6Generator.cxx
parentbbbdf54a3569aa97687091b7d6a03d645f8dabcb (diff)
downloadCMake-268448b89151cf80ac9d4d0ea974a2d4f17c3cd5.zip
CMake-268448b89151cf80ac9d4d0ea974a2d4f17c3cd5.tar.gz
CMake-268448b89151cf80ac9d4d0ea974a2d4f17c3cd5.tar.bz2
Teach VS generators to set the MACHINE type correctly.
Diffstat (limited to 'Source/cmGlobalVisualStudio6Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio6Generator.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio6Generator.cxx b/Source/cmGlobalVisualStudio6Generator.cxx
index 783db21..d053ca2 100644
--- a/Source/cmGlobalVisualStudio6Generator.cxx
+++ b/Source/cmGlobalVisualStudio6Generator.cxx
@@ -44,6 +44,8 @@ void cmGlobalVisualStudio6Generator
mf->AddDefinition("CMAKE_GENERATOR_RC", "rc");
mf->AddDefinition("CMAKE_GENERATOR_NO_COMPILER_ENV", "1");
mf->AddDefinition("CMAKE_GENERATOR_Fortran", "ifort");
+ mf->AddDefinition("MSVC_C_ARCHITECTURE_ID", "X86");
+ mf->AddDefinition("MSVC_CXX_ARCHITECTURE_ID", "X86");
mf->AddDefinition("MSVC60", "1");
this->GenerateConfigurations(mf);
this->cmGlobalGenerator::EnableLanguage(lang, mf, optional);