summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenerators.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-24 12:58:23 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-27 06:44:22 (GMT)
commit780bff5279c6c2d356e5c7726b656bd9c68532b8 (patch)
tree0a5ba9e89c83cf4364d48c088aba4e2eb24251c9 /Source/cmQtAutoGenerators.cxx
parent6bd7bd1e06fcf92d40c762f2713626d125cb8f87 (diff)
downloadCMake-780bff5279c6c2d356e5c7726b656bd9c68532b8.zip
CMake-780bff5279c6c2d356e5c7726b656bd9c68532b8.tar.gz
CMake-780bff5279c6c2d356e5c7726b656bd9c68532b8.tar.bz2
cmake: Store hardcoded lists of sources and headers
Don't duplicate this in each cmMakefile.
Diffstat (limited to 'Source/cmQtAutoGenerators.cxx')
-rw-r--r--Source/cmQtAutoGenerators.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx
index fc690f8..b16eccd 100644
--- a/Source/cmQtAutoGenerators.cxx
+++ b/Source/cmQtAutoGenerators.cxx
@@ -528,7 +528,7 @@ bool cmQtAutoGenerators::RunAutogen(cmMakefile* makefile)
cmSystemTools::ExpandListArgument(this->Sources, sourceFiles);
const std::vector<std::string>& headerExtensions =
- makefile->GetHeaderExtensions();
+ makefile->GetCMakeInstance()->GetHeaderExtensions();
std::map<std::string, std::vector<std::string> > includedUis;
std::map<std::string, std::vector<std::string> > skippedUis;