From 28b9fbe8bc2643eb3a7aa8efa9db144d27a6bfbd Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 21 Oct 2013 17:50:21 +0200 Subject: [PATCH] Changed: Search for default installation paths under Windows --- code/CMakeModules/FindMercurial.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/code/CMakeModules/FindMercurial.cmake b/code/CMakeModules/FindMercurial.cmake index b0602cbdf..dbb2110ff 100644 --- a/code/CMakeModules/FindMercurial.cmake +++ b/code/CMakeModules/FindMercurial.cmake @@ -49,7 +49,11 @@ FIND_PROGRAM(Mercurial_HG_EXECUTABLE hg DOC "mercurial command line client" - HINTS /opt/local/bin) + PATHS + /opt/local/bin + "C:/Program Files/TortoiseHg" + "C:/Program Files (x86)/TortoiseHg" + ) MARK_AS_ADVANCED(Mercurial_HG_EXECUTABLE) IF(Mercurial_HG_EXECUTABLE)