From 8e65367d0cd96d403727d72a1169855f518bb3e4 Mon Sep 17 00:00:00 2001 From: Shauren Date: Sat, 30 May 2020 17:42:14 +0200 Subject: [PATCH] Build system: Print found git version when warning about it being too old --- cmake/macros/FindGit.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/macros/FindGit.cmake b/cmake/macros/FindGit.cmake index d1b06184fc9..03be9d74dcb 100644 --- a/cmake/macros/FindGit.cmake +++ b/cmake/macros/FindGit.cmake @@ -41,6 +41,6 @@ else() message(STATUS "Git version too old : ${_GIT_VERSION}") message(FATAL_ERROR " Git was found but is OUTDATED - did you forget to install a recent version, or setting the path to it? - Observe that for revision hash/date to work you need at least version ${_REQUIRED_GIT_VERSION}") + Observe that for revision hash/date to work you need at least version ${_REQUIRED_GIT_VERSION}, found ${_GIT_VERSION}") endif() endif()