Commit 1e1c37d9 authored by Julius Künzel's avatar Julius Künzel 💬
Browse files

[CMake] Use ECM to install KDebugSettings config instead of custom file

parent 973a637a
Pipeline #243998 failed with stage
in 10 minutes and 2 seconds
......@@ -191,7 +191,11 @@ include(GNUInstallDirs)
install(FILES AUTHORS README.md DESTINATION ${CMAKE_INSTALL_DOCDIR})
install(DIRECTORY LICENSES DESTINATION ${CMAKE_INSTALL_DOCDIR})
install(FILES kdenlive.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR})
ecm_qt_install_logging_categories(
EXPORT KDENLIVE
FILE kdenlive .categories
DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}
)
# Tests
if(BUILD_TESTING)
......
org.kde.multimedia.kdenlive kdenlive (kdenlive) IDENTIFIER [KDENLIVE_LOG]
......@@ -78,7 +78,14 @@ list(APPEND kdenlive_SRCS ${top_SRCS})
## Others special cases
kconfig_add_kcfg_files(kdenlive_SRCS kdenlivesettings.kcfgc)
install(FILES kdenlivesettings.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
ecm_qt_declare_logging_category(kdenlive_SRCS HEADER kdenlive_debug.h IDENTIFIER KDENLIVE_LOG CATEGORY_NAME org.kde.multimedia.kdenlive)
ecm_qt_declare_logging_category(kdenlive_SRCS
HEADER kdenlive_debug.h
IDENTIFIER KDENLIVE_LOG
CATEGORY_NAME org.kde.multimedia.kdenlive
DESCRIPTION "kdenlive"
EXPORT KDENLIVE
)
if(NOT NODBUS)
if(USE_VERSIONLESS_TARGETS)
qt_add_dbus_adaptor(kdenlive_SRCS org.kdenlive.MainWindow.xml mainwindow.h MainWindow)
......
Supports Markdown
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