FindHg: Search for TortoiseHg

Use the TortoiseHg registry entry as a search path.
This commit is contained in:
Matthäus G. Chajdas 2014-02-22 19:46:48 +01:00 committed by Brad King
parent 4e647cf6b5
commit 8993df6c3d
1 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,8 @@
find_program(HG_EXECUTABLE
NAMES hg
PATHS
[HKEY_LOCAL_MACHINE\\Software\\TortoiseHG]
PATH_SUFFIXES Mercurial
DOC "hg command line client"
)