From 62c276f03ef1c8c1c94c885cf2bcf3771f64ec35 Mon Sep 17 00:00:00 2001 From: "Daniele E. Domenichelli" Date: Wed, 11 Dec 2013 13:59:44 +0100 Subject: FindSubversion: Use TortoiseSVN registry key to locate svn If TortoiseSVN is not installed in the default path, the svn executable installed by TortoiseSVN is not found. Using the registry key should always find it. --- Modules/FindSubversion.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Modules/FindSubversion.cmake b/Modules/FindSubversion.cmake index 2338721..0d13318 100644 --- a/Modules/FindSubversion.cmake +++ b/Modules/FindSubversion.cmake @@ -73,6 +73,8 @@ # License text for the above reference.) find_program(Subversion_SVN_EXECUTABLE svn + PATHS + [HKEY_LOCAL_MACHINE\\Software\\TortoiseSVN;Directory]/bin DOC "subversion command line client") mark_as_advanced(Subversion_SVN_EXECUTABLE) -- cgit v0.12