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:
Alexander Lohnau 2021-10-31 20:49:07 +01:00 committed by Vlad Zahorodnii
parent b1e121397d
commit 70a2fb877a

View file

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