summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-08-10 18:32:19 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2010-08-10 18:32:19 (GMT)
commitfab51e6f8d07445bc05eca3cba5f4a0a396f6a14 (patch)
treeab785ec2218ced7a77a611a0ea51fd38d3dd0176 /Modules
parentab994bfe886b85553e825b3d16a44818c0aa137e (diff)
parenta918bd526453c4f4c92a3a1d6823fbd1b1b280ef (diff)
downloadCMake-fab51e6f8d07445bc05eca3cba5f4a0a396f6a14.zip
CMake-fab51e6f8d07445bc05eca3cba5f4a0a396f6a14.tar.gz
CMake-fab51e6f8d07445bc05eca3cba5f4a0a396f6a14.tar.bz2
Merge topic 'findsubversion_fphsa_cleanup'
a918bd5 FindSubversion: set compatibility variables based on FPHSA()
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindSubversion.cmake9
1 files changed, 4 insertions, 5 deletions
diff --git a/Modules/FindSubversion.cmake b/Modules/FindSubversion.cmake
index 58a179d..687aa19 100644
--- a/Modules/FindSubversion.cmake
+++ b/Modules/FindSubversion.cmake
@@ -38,16 +38,11 @@
# (To distributed this file outside of CMake, substitute the full
# License text for the above reference.)
-SET(Subversion_FOUND FALSE)
-SET(Subversion_SVN_FOUND FALSE)
-
FIND_PROGRAM(Subversion_SVN_EXECUTABLE svn
DOC "subversion command line client")
MARK_AS_ADVANCED(Subversion_SVN_EXECUTABLE)
IF(Subversion_SVN_EXECUTABLE)
- SET(Subversion_SVN_FOUND TRUE)
- SET(Subversion_FOUND TRUE)
MACRO(Subversion_WC_INFO dir prefix)
# the subversion commands should be executed with the C locale, otherwise
@@ -111,3 +106,7 @@ ENDIF(Subversion_SVN_EXECUTABLE)
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Subversion DEFAULT_MSG Subversion_SVN_EXECUTABLE)
+
+# for compatibility
+SET(Subversion_FOUND ${SUBVERSION_FOUND})
+SET(Subversion_SVN_FOUND ${SUBVERSION_FOUND})