diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 573fdf51a9c228d5c9f5d08e9ea4405a07d5b10e..6292b0e11e9f9979486fd5efedb2db523de55b71 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -24,3 +24,7 @@ repos:
     -   id: fix-byte-order-marker
     -   id: mixed-line-ending
     -   id: trailing-whitespace
+-   repo: https://github.com/cheshirekow/cmake-format-precommit
+    rev: v0.6.13
+    hooks:
+    - id: cmake-format