Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion projectile.el
Original file line number Diff line number Diff line change
Expand Up @@ -3156,7 +3156,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)))))

Expand Down
Loading