Commit 26f8747b authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use git commit hook

parent 7468655f
Pipeline #48719 skipped
...@@ -56,6 +56,9 @@ set(CMAKE_MODULE_PATH ${kdepim-runtime_SOURCE_DIR}/cmake/ ${ECM_MODULE_PATH}) ...@@ -56,6 +56,9 @@ set(CMAKE_MODULE_PATH ${kdepim-runtime_SOURCE_DIR}/cmake/ ${ECM_MODULE_PATH})
include(ECMSetupVersion) include(ECMSetupVersion)
include(FeatureSummary) include(FeatureSummary)
if(ECM_VERSION VERSION_GREATER_EQUAL 5.79)
include(KDEGitCommitHooks)
endif()
include(KDEInstallDirs) include(KDEInstallDirs)
include(KDECMakeSettings) include(KDECMakeSettings)
include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE) include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
...@@ -187,6 +190,9 @@ ecm_qt_install_logging_categories( ...@@ -187,6 +190,9 @@ ecm_qt_install_logging_categories(
DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR} 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 feature_summary(WHAT ALL
INCLUDE_QUIET_PACKAGES INCLUDE_QUIET_PACKAGES
FATAL_ON_MISSING_REQUIRED_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES
......
Supports Markdown
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