Register KWin effect macros for moc
Otherwise we get lots of moc warnings about there not being any relevant macro used
This commit is contained in:
parent
b1e121397d
commit
70a2fb877a
1 changed files with 13 additions and 0 deletions
|
@ -412,6 +412,19 @@ if (KF5DocTools_FOUND)
|
|||
add_subdirectory(doc)
|
||||
endif()
|
||||
|
||||
include(ECMSetupQtPluginMacroNames)
|
||||
ecm_setup_qtplugin_macro_names(
|
||||
JSON_ARG2
|
||||
"KWIN_EFFECT_FACTORY"
|
||||
JSON_ARG3
|
||||
"KWIN_EFFECT_FACTORY_ENABLED"
|
||||
"KWIN_EFFECT_FACTORY_SUPPORTED"
|
||||
JSON_ARG4
|
||||
"KWIN_EFFECT_FACTORY_SUPPORTED_ENABLED"
|
||||
CONFIG_CODE_VARIABLE
|
||||
PACKAGE_SETUP_AUTOMOC_VARIABLES
|
||||
)
|
||||
|
||||
add_subdirectory(data)
|
||||
add_subdirectory(kconf_update)
|
||||
add_subdirectory(src)
|
||||
|
|
Loading…
Reference in a new issue