Commit 4e32b910 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use git commit hook

parent 41de2ad3
Pipeline #48850 skipped
......@@ -17,6 +17,9 @@ include(GenerateExportHeader)
include(ECMGenerateHeaders)
include(FeatureSummary)
if(ECM_VERSION VERSION_GREATER_EQUAL 5.79)
include(KDEGitCommitHooks)
endif()
include(CheckFunctionExists)
include(ECMGeneratePriFile)
......@@ -121,4 +124,7 @@ ecm_qt_install_logging_categories(
DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}
)
add_subdirectory(doc)
if(ECM_VERSION VERSION_GREATER_EQUAL 5.79)
kde_configure_git_pre_commit_hook(CHECKS CLANG_FORMAT)
endif()
feature_summary(WHAT ALL 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