summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMatthäus G. Chajdas <cmake@anteru.net>2014-02-22 18:46:48 (GMT)
committerBrad King <brad.king@kitware.com>2014-02-25 16:13:49 (GMT)
commit8993df6c3db7a105f146f07b7ff5585698b1c29c (patch)
tree1189d738565a34eee9a3fced1a5eccff5ddda678 /Modules
parent4e647cf6b5114307ff0e4bc985b53a0c04661623 (diff)
downloadCMake-8993df6c3db7a105f146f07b7ff5585698b1c29c.zip
CMake-8993df6c3db7a105f146f07b7ff5585698b1c29c.tar.gz
CMake-8993df6c3db7a105f146f07b7ff5585698b1c29c.tar.bz2
FindHg: Search for TortoiseHg
Use the TortoiseHg registry entry as a search path.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindHg.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindHg.cmake b/Modules/FindHg.cmake
index a1fb33f..8dea652 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"
)