summaryrefslogtreecommitdiff
path: root/Source/cmGhsMultiTargetGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-05 00:00:53 +0200
committerStephen Kelly <steveire@gmail.com>2015-08-26 19:46:30 +0200
commita7f5d70dde50ac74726f3c23d276d2fdac70d659 (patch)
treee86e669efe22d739a037f2d7a2cf56ef295456b0 /Source/cmGhsMultiTargetGenerator.cxx
parentd051086ccec5cd4b381cf47afb0e7fe962ed4c0b (diff)
downloadcmake-a7f5d70dde50ac74726f3c23d276d2fdac70d659.tar.gz
cmGeneratorTarget: Move compile defintions processing from cmTarget.
Diffstat (limited to 'Source/cmGhsMultiTargetGenerator.cxx')
-rw-r--r--Source/cmGhsMultiTargetGenerator.cxx3
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)