Merge topic 'findsubversion_fphsa_cleanup'

a918bd5 FindSubversion: set compatibility variables based on FPHSA()
This commit is contained in:
Brad King 2010-08-10 14:32:19 -04:00 committed by CMake Topic Stage
commit fab51e6f8d
1 changed files with 4 additions and 5 deletions

View File

@ -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})