summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-02-16 18:15:38 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2017-02-16 18:15:38 (GMT)
commit5d5be3bd96f4521b38774855fb70e4238e346db2 (patch)
tree6f8a82f5523f88e794bd54199c5b4c39f49d01eb
parentd1530cc9a5bf16c83d7ad9246d6a7e35a0235b3e (diff)
parent28ee3784055ab6b21563d56024b1324c16949cbc (diff)
downloadCMake-5d5be3bd96f4521b38774855fb70e4238e346db2.zip
CMake-5d5be3bd96f4521b38774855fb70e4238e346db2.tar.gz
CMake-5d5be3bd96f4521b38774855fb70e4238e346db2.tar.bz2
Merge topic 'autogen_fix_3.8'
28ee3784 Autogen: Fix headers not skipped
-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,