CMakeLists.txt: Append KF5 macros to CMAKE_AUTOMOC_MACRO_NAMES
CMake 3.9 introduced bogus automoc warnings of the form:
"The file includes the moc file "foo.moc", but does not contain a
Q_OBJECT, Q_GADGET or Q_NAMESPACE macro."
These are caused by use of KF5-provided macros that it doesn't recognise,
and obscure the real compiler output.
CMake 3.10+ can be told extra macros to accept, which avoids the warnings.
Ideally this should be done either in ECM or in each framework that
exports these macros, but this solves the problem for us in the
meantime.
Differential Revision: https://phabricator.kde.org/D8951