summaryrefslogtreecommitdiffstats
path: root/Source/cmGhsMultiTargetGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-29 15:51:15 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-07 06:37:56 (GMT)
commit5d3776a7ebb718ae6ed4724e0a8961cda68b6316 (patch)
tree8b8c68607a9b39b6470720443a45d3a7abb76a4a /Source/cmGhsMultiTargetGenerator.cxx
parent7ce0991a7a29e244aee3f61e9e8b1879e59d156c (diff)
downloadCMake-5d3776a7ebb718ae6ed4724e0a8961cda68b6316.zip
CMake-5d3776a7ebb718ae6ed4724e0a8961cda68b6316.tar.gz
CMake-5d3776a7ebb718ae6ed4724e0a8961cda68b6316.tar.bz2
Access sources through cmGeneratorTarget.
Diffstat (limited to 'Source/cmGhsMultiTargetGenerator.cxx')
-rw-r--r--Source/cmGhsMultiTargetGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGhsMultiTargetGenerator.cxx b/Source/cmGhsMultiTargetGenerator.cxx
index 46ea2f3..bfcef43 100644
--- a/Source/cmGhsMultiTargetGenerator.cxx
+++ b/Source/cmGhsMultiTargetGenerator.cxx
@@ -172,7 +172,7 @@ std::vector<cmSourceFile *> cmGhsMultiTargetGenerator::GetSources() const
{
std::vector<cmSourceFile *> output;
std::string config = this->Makefile->GetSafeDefinition("CMAKE_BUILD_TYPE");
- this->Target->GetSourceFiles(output, config);
+ this->GeneratorTarget->GetSourceFiles(output, config);
return output;
}
@@ -574,7 +574,7 @@ bool cmGhsMultiTargetGenerator::DetermineIfTargetGroup(
std::vector<cmSourceFile *> sources;
std::string config =
target->Target->GetMakefile()->GetSafeDefinition("CMAKE_BUILD_TYPE");
- target->Target->GetSourceFiles(sources, config);
+ target->GetSourceFiles(sources, config);
for (std::vector<cmSourceFile *>::const_iterator sources_i = sources.begin();
sources.end() != sources_i; ++sources_i)
{