summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio8Win64Generator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmGlobalVisualStudio8Win64Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio8Win64Generator.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/cmGlobalVisualStudio8Win64Generator.cxx b/Source/cmGlobalVisualStudio8Win64Generator.cxx
index aa756d8..d5558bb 100644
--- a/Source/cmGlobalVisualStudio8Win64Generator.cxx
+++ b/Source/cmGlobalVisualStudio8Win64Generator.cxx
@@ -42,10 +42,12 @@ void cmGlobalVisualStudio8Win64Generator
entry.Full = "";
}
+//----------------------------------------------------------------------------
void cmGlobalVisualStudio8Win64Generator
-::EnableLanguage(std::vector<std::string>const & lang,
- cmMakefile *mf, bool optional)
+::AddPlatformDefinitions(cmMakefile* mf)
{
+ this->cmGlobalVisualStudio8Generator::AddPlatformDefinitions(mf);
mf->AddDefinition("CMAKE_FORCE_WIN64", "TRUE");
- cmGlobalVisualStudio8Generator::EnableLanguage(lang, mf, optional);
+ mf->AddDefinition("MSVC_C_ARCHITECTURE_ID", "x64");
+ mf->AddDefinition("MSVC_CXX_ARCHITECTURE_ID", "x64");
}