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.
This commit is contained in:
Daniele E. Domenichelli 2013-12-11 13:59:44 +01:00
parent 62b90453d7
commit 62c276f03e
1 changed files with 2 additions and 0 deletions

View File

@ -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)