summaryrefslogtreecommitdiff
path: root/Modules/FindHg.cmake
diff options
context:
space:
mode:
authorMatthäus G. Chajdas <cmake@anteru.net>2014-02-22 19:46:48 +0100
committerBrad King <brad.king@kitware.com>2014-02-25 11:13:49 -0500
commit8993df6c3db7a105f146f07b7ff5585698b1c29c (patch)
tree1189d738565a34eee9a3fced1a5eccff5ddda678 /Modules/FindHg.cmake
parent4e647cf6b5114307ff0e4bc985b53a0c04661623 (diff)
downloadcmake-8993df6c3db7a105f146f07b7ff5585698b1c29c.tar.gz
FindHg: Search for TortoiseHg
Use the TortoiseHg registry entry as a search path.
Diffstat (limited to 'Modules/FindHg.cmake')
-rw-r--r--Modules/FindHg.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindHg.cmake b/Modules/FindHg.cmake
index a1fb33f3c0..8dea652328 100644
--- a/Modules/FindHg.cmake
+++ b/Modules/FindHg.cmake
@@ -37,6 +37,8 @@
find_program(HG_EXECUTABLE
NAMES hg
+ PATHS
+ [HKEY_LOCAL_MACHINE\\Software\\TortoiseHG]
PATH_SUFFIXES Mercurial
DOC "hg command line client"
)