Autogen: Fix headers not skipped

This commit is contained in:
Sebastian Holtermann
2017-02-15 21:00:39 +01:00
parent 84df4a4950
commit 28ee378405

View File

@@ -655,10 +655,10 @@ bool cmQtAutoGenerators::RunAutogen(cmMakefile* makefile)
it != this->Headers.end(); ++it) {
const std::string& headerName = *it;
if (!this->MocSkipTest(headerName)) {
headerFilesMoc.insert(this->Headers.begin(), this->Headers.end());
headerFilesMoc.insert(headerName);
}
if (!this->UicSkipTest(headerName)) {
headerFilesUic.insert(this->Headers.begin(), this->Headers.end());
headerFilesUic.insert(headerName);
}
}
this->ParseHeaders(headerFilesMoc, headerFilesUic, includedMocs,