aboutsummaryrefslogtreecommitdiff
path: root/projectile.el
diff options
context:
space:
mode:
Diffstat (limited to 'projectile.el')
-rw-r--r--projectile.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/projectile.el b/projectile.el
index f27e31b..e79a909 100644
--- a/projectile.el
+++ b/projectile.el
@@ -3166,7 +3166,7 @@ it acts on the current project."
(defun projectile--cmake-version ()
"Compute CMake version."
(let* ((string (shell-command-to-string "cmake --version"))
- (match (string-match "^cmake version \\(.*\\)$" string)))
+ (match (string-match "^cmake version \\([0-9]+\\.[0-9]+\\.[0-9]+\\).*$" string)))
(when match
(version-to-list (match-string 1 string)))))