Commit 19d51a5b authored by Laurent Montel's avatar Laurent Montel
Browse files

Autogenerate categories file

parent 6e4946b3
......@@ -8,8 +8,8 @@ set (RELEASE_SERVICE_COMPACT_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}${RELEASE_
project(kubrick VERSION "1.1.${RELEASE_SERVICE_COMPACT_VERSION}")
set (QT_MIN_VERSION "5.7.0")
set (KF5_MIN_VERSION "5.30.0")
set (QT_MIN_VERSION "5.12.0")
set (KF5_MIN_VERSION "5.68.0")
find_package(ECM ${KF5_MIN_VERSION} REQUIRED CONFIG)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} )
......@@ -51,10 +51,5 @@ add_subdirectory(data)
add_subdirectory(themes)
add_subdirectory(doc)
if (${ECM_VERSION} STRGREATER "5.58.0")
install(FILES kubrick.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR})
else()
install(FILES kubrick.categories DESTINATION ${KDE_INSTALL_CONFDIR})
endif()
ecm_qt_install_logging_categories(EXPORT KUBRICK FILE kubrick.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR})
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
LOG_KUBRICK kdegames (kubrick) IDENTIFIER [KUBRICK_LOG]
......@@ -17,7 +17,7 @@ set(kubrick_SRCS
)
ecm_setup_version(${PROJECT_VERSION} VARIABLE_PREFIX KUBRICK VERSION_HEADER kubrick_version.h)
ecm_qt_declare_logging_category(kubrick_SRCS HEADER kubrick_debug.h IDENTIFIER KUBRICK_LOG CATEGORY_NAME LOG_KUBRICK)
ecm_qt_declare_logging_category(kubrick_SRCS HEADER kubrick_debug.h IDENTIFIER KUBRICK_LOG CATEGORY_NAME LOG_KUBRICK DESCRIPTION "kdegames (kubrick)" EXPORT KUBRICK)
file(GLOB ICONS_SRCS "*-apps-kubrick.png")
ecm_add_app_icon(kubrick_SRCS ICONS ${ICONS_SRCS})
......
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