diff --git a/moo/mooedit/langs/cmake.lang b/moo/mooedit/langs/cmake.lang
index 65465d2f..9bc5164a 100644
--- a/moo/mooedit/langs/cmake.lang
+++ b/moo/mooedit/langs/cmake.lang
@@ -560,7 +560,7 @@
- \$\{
+ \$(ENV)?\{
\}
@@ -569,7 +569,7 @@
- \b((?i)SET)\b\s*\(\s*([\w_][\w\d_]*)
+ \b((?i)SET)\b\s*\(\s*([\w_][\w\d_]*|ENV\{[\w\d_]*\})
\)