diff --git a/CMakeLists.txt b/CMakeLists.txt index cfeafbb97..35e54d948 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,11 @@ +# This option should be removed, or moved down as far as possible. +# That means porting the existing frameworks to the CMake automoc +# feature. Porting is mostly removing explicit moc includes, and +# leaving the ones which are truly needed (ie, if you remove +# them, the build fails). +set(CMAKE_AUTOMOC_RELAXED_MODE ON) + if(KDE_PLATFORM_FEATURE_BINARY_COMPATIBLE_FEATURE_REDUCTION) set(PLASMA_NO_KDEWEBKIT TRUE) set(PLASMA_NO_KNEWSTUFF TRUE)