Commit 1498d16d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use git commit hook

parent a1b6a3b5
......@@ -27,6 +27,9 @@ find_package(KF5 REQUIRED COMPONENTS
IconThemes
KIO
)
if(ECM_VERSION VERSION_GREATER_EQUAL 5.79)
include(KDEGitCommitHooks)
endif()
add_subdirectory(src)
......@@ -41,5 +44,8 @@ ecm_qt_install_logging_categories(
)
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