diff options
Diffstat (limited to 'Source/cmGlobalVisualStudio10Win64Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio10Win64Generator.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/Source/cmGlobalVisualStudio10Win64Generator.cxx b/Source/cmGlobalVisualStudio10Win64Generator.cxx index d9db731..0352a46 100644 --- a/Source/cmGlobalVisualStudio10Win64Generator.cxx +++ b/Source/cmGlobalVisualStudio10Win64Generator.cxx @@ -17,6 +17,7 @@ cmGlobalVisualStudio10Win64Generator::cmGlobalVisualStudio10Win64Generator() { this->ArchitectureId = "x64"; + this->AdditionalPlatformDefinition = "CMAKE_FORCE_WIN64"; } //---------------------------------------------------------------------------- @@ -30,14 +31,6 @@ void cmGlobalVisualStudio10Win64Generator //---------------------------------------------------------------------------- void cmGlobalVisualStudio10Win64Generator -::AddPlatformDefinitions(cmMakefile* mf) -{ - this->cmGlobalVisualStudio10Generator::AddPlatformDefinitions(mf); - mf->AddDefinition("CMAKE_FORCE_WIN64", "TRUE"); -} - -//---------------------------------------------------------------------------- -void cmGlobalVisualStudio10Win64Generator ::EnableLanguage(std::vector<std::string> const& languages, cmMakefile* mf, bool optional) { |