diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-11-20 16:55:28 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-11-20 16:55:28 (GMT) |
commit | 268448b89151cf80ac9d4d0ea974a2d4f17c3cd5 (patch) | |
tree | ea1099a2ffc78c99939bbab38d2e038d040fb15d /Source/cmGlobalVisualStudio9Generator.cxx | |
parent | bbbdf54a3569aa97687091b7d6a03d645f8dabcb (diff) | |
download | CMake-268448b89151cf80ac9d4d0ea974a2d4f17c3cd5.zip CMake-268448b89151cf80ac9d4d0ea974a2d4f17c3cd5.tar.gz CMake-268448b89151cf80ac9d4d0ea974a2d4f17c3cd5.tar.bz2 |
Teach VS generators to set the MACHINE type correctly.
Diffstat (limited to 'Source/cmGlobalVisualStudio9Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio9Generator.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio9Generator.cxx b/Source/cmGlobalVisualStudio9Generator.cxx index 75fe900..f6ae705 100644 --- a/Source/cmGlobalVisualStudio9Generator.cxx +++ b/Source/cmGlobalVisualStudio9Generator.cxx @@ -25,6 +25,8 @@ cmGlobalVisualStudio9Generator::cmGlobalVisualStudio9Generator() //---------------------------------------------------------------------------- void cmGlobalVisualStudio9Generator::AddPlatformDefinitions(cmMakefile* mf) { + mf->AddDefinition("MSVC_C_ARCHITECTURE_ID", "X86"); + mf->AddDefinition("MSVC_CXX_ARCHITECTURE_ID", "X86"); mf->AddDefinition("MSVC90", "1"); } |