summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-02-15 20:00:39 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-02-15 20:00:39 (GMT)
commit28ee3784055ab6b21563d56024b1324c16949cbc (patch)
tree97943ecc69aa6f10cd14c3bb531ca7dd09151d74 /Source
parent84df4a49500e51ac6e2a19a77e385e66234386f7 (diff)
downloadCMake-28ee3784055ab6b21563d56024b1324c16949cbc.zip
CMake-28ee3784055ab6b21563d56024b1324c16949cbc.tar.gz
CMake-28ee3784055ab6b21563d56024b1324c16949cbc.tar.bz2
Autogen: Fix headers not skipped
Diffstat (limited to 'Source')
-rw-r--r--Source/cmQtAutoGenerators.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx
index c84fe4f..1d6972b 100644
--- a/Source/cmQtAutoGenerators.cxx
+++ b/Source/cmQtAutoGenerators.cxx
@@ -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,