diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6c952f7..95c4d1e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,3 +22,9 @@ repos: - id: clang-format - id: clang-tidy args: [-p=build] + + - repo: https://github.com/cheshirekow/cmake-format-precommit + rev: v0.6.13 + hooks: + - id: cmake-format + - id: cmake-lint