Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KDE PIM Runtime
Commits
26f8747b
Commit
26f8747b
authored
Jan 26, 2021
by
Laurent Montel
😁
Browse files
Use git commit hook
parent
7468655f
Pipeline
#48719
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
26f8747b
...
...
@@ -56,6 +56,9 @@ set(CMAKE_MODULE_PATH ${kdepim-runtime_SOURCE_DIR}/cmake/ ${ECM_MODULE_PATH})
include
(
ECMSetupVersion
)
include
(
FeatureSummary
)
if
(
ECM_VERSION VERSION_GREATER_EQUAL 5.79
)
include
(
KDEGitCommitHooks
)
endif
()
include
(
KDEInstallDirs
)
include
(
KDECMakeSettings
)
include
(
KDEFrameworkCompilerSettings NO_POLICY_SCOPE
)
...
...
@@ -187,6 +190,9 @@ ecm_qt_install_logging_categories(
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment