mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-15 22:35:33 -05:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user