mirror of
https://github.com/reactos/CMake.git
synced 2025-02-04 02:47:29 +00:00
Merge branch 'autogen-header-skip' into release-3.9
This commit is contained in:
commit
ef31812ede
@ -1003,7 +1003,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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user