summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.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/cmGlobalGenerator.cxx
parent7ce0991a7a29e244aee3f61e9e8b1879e59d156c (diff)
downloadCMake-5d3776a7ebb718ae6ed4724e0a8961cda68b6316.zip
CMake-5d3776a7ebb718ae6ed4724e0a8961cda68b6316.tar.gz
CMake-5d3776a7ebb718ae6ed4724e0a8961cda68b6316.tar.bz2
Access sources through cmGeneratorTarget.
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 05f1029..db842b0 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -2949,10 +2949,12 @@ void cmGlobalGenerator::WriteSummary(cmTarget* target)
{
configs.push_back("");
}
+ cmGeneratorTarget* gt =
+ this->GetGeneratorTarget(target);
for(std::vector<std::string>::const_iterator ci = configs.begin();
ci != configs.end(); ++ci)
{
- target->GetSourceFiles(sources, *ci);
+ gt->GetSourceFiles(sources, *ci);
}
std::vector<cmSourceFile*>::const_iterator sourcesEnd
= cmRemoveDuplicates(sources);