diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-05 00:00:53 +0200 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-26 19:46:30 +0200 |
commit | a7f5d70dde50ac74726f3c23d276d2fdac70d659 (patch) | |
tree | e86e669efe22d739a037f2d7a2cf56ef295456b0 /Source/cmGhsMultiTargetGenerator.cxx | |
parent | d051086ccec5cd4b381cf47afb0e7fe962ed4c0b (diff) | |
download | cmake-a7f5d70dde50ac74726f3c23d276d2fdac70d659.tar.gz |
cmGeneratorTarget: Move compile defintions processing from cmTarget.
Diffstat (limited to 'Source/cmGhsMultiTargetGenerator.cxx')
-rw-r--r-- | Source/cmGhsMultiTargetGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGhsMultiTargetGenerator.cxx b/Source/cmGhsMultiTargetGenerator.cxx index 790e68b2a2..846b6e2f86 100644 --- a/Source/cmGhsMultiTargetGenerator.cxx +++ b/Source/cmGhsMultiTargetGenerator.cxx @@ -330,7 +330,8 @@ void cmGhsMultiTargetGenerator::WriteCompilerDefinitions( const std::string &config, const std::string &language) { std::vector<std::string> compileDefinitions; - this->Target->GetCompileDefinitions(compileDefinitions, config, language); + this->GeneratorTarget->GetCompileDefinitions(compileDefinitions, + config, language); for (std::vector<std::string>::const_iterator cdI = compileDefinitions.begin(); cdI != compileDefinitions.end(); ++cdI) |