summaryrefslogtreecommitdiff
path: root/Modules/FindSubversion.cmake
diff options
context:
space:
mode:
authorDaniele E. Domenichelli <daniele.domenichelli@iit.it>2013-12-11 13:59:44 +0100
committerDaniele E. Domenichelli <daniele.domenichelli@iit.it>2013-12-11 13:59:48 +0100
commit62c276f03ef1c8c1c94c885cf2bcf3771f64ec35 (patch)
tree3396a9c7ef6a2ab0d0b0cf457c8e87b43b191417 /Modules/FindSubversion.cmake
parent62b90453d701d655cc53b0cda4c9d3d800fefa26 (diff)
downloadcmake-62c276f03ef1c8c1c94c885cf2bcf3771f64ec35.tar.gz
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.
Diffstat (limited to 'Modules/FindSubversion.cmake')
-rw-r--r--Modules/FindSubversion.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindSubversion.cmake b/Modules/FindSubversion.cmake
index 23387219fd..0d13318bd9 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)