diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-05-03 11:10:30 +0200 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-05-03 11:42:00 +0200 |
commit | a0836ed97804952ace98d2c1d0d46e968a532a3c (patch) | |
tree | 11c3a118fb30c8cf6eb41eca2898251197edadeb /Source/cmGeneratorExpressionEvaluationFile.cxx | |
parent | cbf143bb76604f576275d96a1e1e4c701680ff29 (diff) | |
download | cmake-a0836ed97804952ace98d2c1d0d46e968a532a3c.tar.gz |
Port to cmMakefile::GetGlobalGenerator.
Diffstat (limited to 'Source/cmGeneratorExpressionEvaluationFile.cxx')
-rw-r--r-- | Source/cmGeneratorExpressionEvaluationFile.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmGeneratorExpressionEvaluationFile.cxx b/Source/cmGeneratorExpressionEvaluationFile.cxx index fa00283c26..c7269954b5 100644 --- a/Source/cmGeneratorExpressionEvaluationFile.cxx +++ b/Source/cmGeneratorExpressionEvaluationFile.cxx @@ -103,8 +103,7 @@ void cmGeneratorExpressionEvaluationFile::CreateOutputFile( std::string const& config) { std::vector<std::string> enabledLanguages; - cmGlobalGenerator *gg - = this->Makefile->GetLocalGenerator()->GetGlobalGenerator(); + cmGlobalGenerator *gg = this->Makefile->GetGlobalGenerator(); gg->GetEnabledLanguages(enabledLanguages); for(std::vector<std::string>::const_iterator le = enabledLanguages.begin(); @@ -168,8 +167,7 @@ void cmGeneratorExpressionEvaluationFile::Generate() } std::vector<std::string> enabledLanguages; - cmGlobalGenerator *gg - = this->Makefile->GetLocalGenerator()->GetGlobalGenerator(); + cmGlobalGenerator *gg = this->Makefile->GetGlobalGenerator(); gg->GetEnabledLanguages(enabledLanguages); for(std::vector<std::string>::const_iterator le = enabledLanguages.begin(); |