Commit 11a9a7b4 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use git commit hook

parent f89e4429
Pipeline #48851 passed with stage
in 9 minutes and 43 seconds
......@@ -25,6 +25,9 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
ItemViews
Completion)
include(FeatureSummary)
if(ECM_VERSION VERSION_GREATER_EQUAL 5.79)
include(KDEGitCommitHooks)
endif()
include(ECMAddAppIcon)
include(ECMInstallIcons)
include(KDEInstallDirs)
......@@ -68,4 +71,7 @@ endif()
ecm_qt_install_logging_categories(EXPORT KDEBUGSETTINGS FILE kdebugsettings.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR})
install( FILES data/kde.renamecategories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR} )
if(ECM_VERSION VERSION_GREATER_EQUAL 5.79)
kde_configure_git_pre_commit_hook(CHECKS CLANG_FORMAT)
endif()
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
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