Diffusion KWin cd544890ced4

Fix build with CMake 3.10

Authored by mwolff on Dec 18 2017, 10:40 AM.

Description

Fix build with CMake 3.10

Looks like a classic false-positive, but this makes the compile
pass for me without making the code harder to read:

AutoMoc error

"/ssd/milian/projects/kf5/src/kde/workspace/kwin/kcmkwin/kwinscripts/main.cpp"

The file contains a K_PLUGIN_FACTORY macro, but does not include "main.moc"!
Consider to

  • add #include "main.moc"
  • enable SKIP_AUTOMOC for this file

So we just add the include and then get rid of the duplicate
definition of the plugin factory and the problem is resolved.

Details

Committed
mwolffDec 18 2017, 10:41 AM
Parents
R108:efac8c351e41: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown