summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-07-05 14:10:52 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-07-05 14:11:00 (GMT)
commita57b3537504c055dbd72673816a672982cc3592d (patch)
tree0324ea4ae3bb4b26a694b29c79c892f6bdfb2c76
parentcdb43f1c887a0695468c18968943680435c7e625 (diff)
parent83d8aceeb35d2a378777a35fea1fb7d7c2d76362 (diff)
downloadCMake-a57b3537504c055dbd72673816a672982cc3592d.zip
CMake-a57b3537504c055dbd72673816a672982cc3592d.tar.gz
CMake-a57b3537504c055dbd72673816a672982cc3592d.tar.bz2
Merge topic 'autogen-header-skip'
83d8acee Autogen: Check .moc header name against SKIP list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1017
-rw-r--r--Source/cmQtAutoGenerators.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx
index 7f0bd86..4e71f67 100644
--- a/Source/cmQtAutoGenerators.cxx
+++ b/Source/cmQtAutoGenerators.cxx
@@ -1005,7 +1005,7 @@ bool cmQtAutoGenerators::MocParseSourceContent(
// In relaxed mode try to find a header instead but issue a warning
const std::string headerToMoc =
this->MocFindHeader(scannedFileAbsPath, incSubDir + incBasename);
- if (!headerToMoc.empty()) {
+ if (!headerToMoc.empty() && !this->MocSkip(headerToMoc)) {
// This is for KDE4 compatibility:
fileToMoc = headerToMoc;
if (!requiresMoc && (incBasename == scannedFileBasename)) {