summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorrikky <rikky@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-03-12 20:40:37 +0000
committerrikky <rikky@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-03-12 20:40:37 +0000
commit4c47b444c592f036d062a26020faf73fa2af75b7 (patch)
treee09e1bdf0cad5f16e81f76cb4c6b8df323dcff6b /cmake
parent96d13a9ef36370e3f9f30c577e2f811359f81d5a (diff)
downloadnavit-svn-4c47b444c592f036d062a26020faf73fa2af75b7.tar.gz
Fix:build/cmake:Also find the win32 version of git, when searching for the svn revision number
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4334 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'cmake')
-rw-r--r--cmake/version.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/version.cmake b/cmake/version.cmake
index 4f9c6d01..64a97fb6 100644
--- a/cmake/version.cmake
+++ b/cmake/version.cmake
@@ -1,4 +1,4 @@
-FIND_PROGRAM(GIT_EXECUTABLE git DOC "git command line client")
+FIND_PROGRAM(GIT_EXECUTABLE NAMES git git.exe DOC "git command line client")
get_filename_component(SOURCE_DIR ${SRC} PATH)