From 8993df6c3db7a105f146f07b7ff5585698b1c29c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matth=C3=A4us=20G=2E=20Chajdas?= Date: Sat, 22 Feb 2014 19:46:48 +0100 Subject: FindHg: Search for TortoiseHg Use the TortoiseHg registry entry as a search path. --- Modules/FindHg.cmake | 2 ++ 1 file changed, 2 insertions(+) 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" ) -- cgit v0.12