Use ecm_qt_install_logging_categories over manual categories file

This commit is contained in:
Friedrich W. H. Kossebau 2020-02-12 23:56:17 +01:00
parent ca7ff1ecc1
commit b5a08d87b7

View file

@ -65,7 +65,14 @@ set(SERVER_LIB_SRCS
xdgshell_v6_interface.cpp
)
ecm_qt_declare_logging_category(SERVER_LIB_SRCS HEADER logging.h IDENTIFIER KWAYLAND_SERVER CATEGORY_NAME kwayland-server DEFAULT_SEVERITY Critical)
ecm_qt_declare_logging_category(SERVER_LIB_SRCS
HEADER logging.h
IDENTIFIER KWAYLAND_SERVER
CATEGORY_NAME kwayland-server
DEFAULT_SEVERITY Critical
DESCRIPTION "KWayland Server Library"
EXPORT KWAYLAND
)
ecm_add_wayland_server_protocol(SERVER_LIB_SRCS
PROTOCOL ${KWayland_SOURCE_DIR}/src/client/protocols/output-management.xml