Only plasma needs non-standard automoc handling now.

I don't have kdepimlibs in my kf5 environment. Anyone who does
feel free to port.
This commit is contained in:
Stephen Kelly 2012-02-01 12:41:32 +01:00
parent 52a8b232ec
commit a57081af2c

View File

@ -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)