Commit 0f9a089d authored by Laurent Montel's avatar Laurent Montel 😁

Autogenerate categories file

parent 6a05444b
......@@ -85,7 +85,11 @@ add_subdirectory(daemon)
add_subdirectory(kcmodule)
add_subdirectory(doc)
install( FILES powerdevil.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR})
ecm_qt_install_logging_categories(
EXPORT POWERDEVIL
FILE powerdevil.categories
DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}
)
install( FILES powerdevil.notifyrc DESTINATION ${KDE_INSTALL_KNOTIFY5RCDIR} )
# add clang-format target for all our real source files
......
......@@ -52,7 +52,8 @@ ecm_qt_declare_logging_category(powerdevilcore_SRCS
HEADER powerdevil_debug.h
IDENTIFIER POWERDEVIL
CATEGORY_NAME org.kde.powerdevil
DEFAULT_SEVERITY Warning)
DEFAULT_SEVERITY Warning
DESCRIPTION "Powerdevil" EXPORT POWERDEVIL)
kconfig_add_kcfg_files(powerdevilcore_SRCS ../PowerDevilSettings.kcfgc)
......
org.kde.powerdevil Powerdevil DEFAULT_SEVERITY [WARNING] IDENTIFIER [POWERDEVIL]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment