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:
parent
62b90453d7
commit
62c276f03e
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue