From 1ae72db201189877c1b863fac140eb4b0a45c5bb 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 9cbb05d0340..31a4be760f2 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()