mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Merge topic 'autogen-header-skip'
83d8acee Autogen: Check .moc header name against SKIP list
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1017
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user