diff --git a/.editorconfig b/.editorconfig
--- a/.editorconfig
+++ b/.editorconfig
@@ -9,6 +9,6 @@
 indent_style = space
 indent_size = 4
 
-[CMakeLists.txt]
+[{CMakeLists.txt,*.cmake}]
 indent_style = space
-indent_size = 4
+indent_size = 2