diff --git a/.gitignore b/.gitignore index 95dd022ba..cb2ac82fb 100644 --- a/.gitignore +++ b/.gitignore @@ -35,6 +35,6 @@ .idea/ .vscode/ -# Build folders -cmake-build-*/ -build/ +# Build folders. +# This rule ignores any folder in the project root that contains "build" +/*build*/