From 5755ab14acd0255654f32d5c40d0cdd07b6c3880 Mon Sep 17 00:00:00 2001 From: click Date: Mon, 10 Jan 2011 17:57:26 +0100 Subject: [PATCH] Buildsystem: Use the git-executable variable as the command to run as well... Thanks to Shauren and leak for pointing that out. --- cmake/genrev.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/genrev.cmake b/cmake/genrev.cmake index f8685629760..f32f6710f41 100644 --- a/cmake/genrev.cmake +++ b/cmake/genrev.cmake @@ -32,7 +32,7 @@ ensure_version( "${_REQUIRED_GIT_VERSION}" "${_GIT_VERSION}" _GIT_VERSION_OK) if(_GIT_VERSION_OK) execute_process( - COMMAND git describe --match init --dirty=+ --abbrev=12 + COMMAND "${_GIT_EXEC}" describe --match init --dirty=+ --abbrev=12 WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}" OUTPUT_VARIABLE rev_info OUTPUT_STRIP_TRAILING_WHITESPACE