diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2018-12-06 17:19:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-12-07 12:56:46 (GMT) |
commit | 187481d4d988f45e05f2f7a6e89df89cd64ecfe9 (patch) | |
tree | 8a310c65470b7994d460ea4a5b6f1e5a60adbf19 /Source | |
parent | 62942969062fcc9f24ca057b6983532a973cfad6 (diff) | |
download | CMake-187481d4d988f45e05f2f7a6e89df89cd64ecfe9.zip CMake-187481d4d988f45e05f2f7a6e89df89cd64ecfe9.tar.gz CMake-187481d4d988f45e05f2f7a6e89df89cd64ecfe9.tar.bz2 |
Autogen: Revert passing compiler implicit includes to moc
Passing an incomplete list of compiler include directories causes
a regression in the KIO project (and probably others). We need to
disable it until the complete list is available (see #16291).
Fixes: #18669
Issue: #18041
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmQtAutoGenInitializer.cxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Source/cmQtAutoGenInitializer.cxx b/Source/cmQtAutoGenInitializer.cxx index ba7a565..f9c8c7f 100644 --- a/Source/cmQtAutoGenInitializer.cxx +++ b/Source/cmQtAutoGenInitializer.cxx @@ -386,9 +386,13 @@ bool cmQtAutoGenInitializer::InitMoc() // Moc includes { - bool const appendImplicit = (this->QtVersion.Major == 5); - auto GetIncludeDirs = - [this, localGen, appendImplicit](std::string const& cfg) -> std::string { + // We need to disable this until we have all implicit includes available. + // See issue #18669. + // bool const appendImplicit = (this->QtVersion.Major == 5); + + auto GetIncludeDirs = [this, + localGen](std::string const& cfg) -> std::string { + bool const appendImplicit = false; // Get the include dirs for this target, without stripping the implicit // include dirs off, see // https://gitlab.kitware.com/cmake/cmake/issues/13667 |