diff options
author | Daniele E. Domenichelli <daniele.domenichelli@iit.it> | 2013-12-11 12:59:44 (GMT) |
---|---|---|
committer | Daniele E. Domenichelli <daniele.domenichelli@iit.it> | 2013-12-11 12:59:48 (GMT) |
commit | 62c276f03ef1c8c1c94c885cf2bcf3771f64ec35 (patch) | |
tree | 3396a9c7ef6a2ab0d0b0cf457c8e87b43b191417 /Modules/FindSubversion.cmake | |
parent | 62b90453d701d655cc53b0cda4c9d3d800fefa26 (diff) | |
download | CMake-62c276f03ef1c8c1c94c885cf2bcf3771f64ec35.zip CMake-62c276f03ef1c8c1c94c885cf2bcf3771f64ec35.tar.gz CMake-62c276f03ef1c8c1c94c885cf2bcf3771f64ec35.tar.bz2 |
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.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
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) |