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
commit32c4095524fcd720c01d013e1ab47181e60a9e5b (patch)
treee09e1bdf0cad5f16e81f76cb4c6b8df323dcff6b /cmake
parent33eb66894d76353ab908192b7bf1ef68d83af88e (diff)
downloadnavit-32c4095524fcd720c01d013e1ab47181e60a9e5b.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 4f9c6d017..64a97fb67 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)