diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-29 17:51:15 +0200 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-07 08:37:56 +0200 |
commit | 5d3776a7ebb718ae6ed4724e0a8961cda68b6316 (patch) | |
tree | 8b8c68607a9b39b6470720443a45d3a7abb76a4a /Source/cmNinjaUtilityTargetGenerator.cxx | |
parent | 7ce0991a7a29e244aee3f61e9e8b1879e59d156c (diff) | |
download | cmake-5d3776a7ebb718ae6ed4724e0a8961cda68b6316.tar.gz |
Access sources through cmGeneratorTarget.
Diffstat (limited to 'Source/cmNinjaUtilityTargetGenerator.cxx')
-rw-r--r-- | Source/cmNinjaUtilityTargetGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmNinjaUtilityTargetGenerator.cxx b/Source/cmNinjaUtilityTargetGenerator.cxx index 58b901a9fd..df43c6195f 100644 --- a/Source/cmNinjaUtilityTargetGenerator.cxx +++ b/Source/cmNinjaUtilityTargetGenerator.cxx @@ -58,7 +58,7 @@ void cmNinjaUtilityTargetGenerator::Generate() std::vector<cmSourceFile*> sources; std::string config = this->GetMakefile() ->GetSafeDefinition("CMAKE_BUILD_TYPE"); - this->GetTarget()->GetSourceFiles(sources, config); + this->GetGeneratorTarget()->GetSourceFiles(sources, config); for(std::vector<cmSourceFile*>::const_iterator source = sources.begin(); source != sources.end(); ++source) { |