Commit 8e1be43b authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use git commit hook

parent ca3bc495
Pipeline #48701 skipped
......@@ -19,6 +19,9 @@ include(ECMGenerateHeaders)
include(ECMGeneratePriFile)
include(FeatureSummary)
if(ECM_VERSION VERSION_GREATER_EQUAL 5.79)
include(KDEGitCommitHooks)
endif()
include(ECMQtDeclareLoggingCategory)
include(ECMAddTests)
......@@ -101,4 +104,7 @@ add_definitions(-DQT_NO_KEYWORDS)
add_subdirectory(src)
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