aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclick <click@none>2011-01-10 17:57:26 +0100
committerclick <click@none>2011-01-10 17:57:26 +0100
commit5755ab14acd0255654f32d5c40d0cdd07b6c3880 (patch)
tree31a8b375ea2cf6e830ffe967a3fa9499494131a9
parent0f5d03211be6d608079fb1de4d01ef1536b4e2b7 (diff)
Buildsystem: Use the git-executable variable as the command to run as well...
Thanks to Shauren and leak for pointing that out.
-rw-r--r--cmake/genrev.cmake2
1 files changed, 1 insertions, 1 deletions
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