[Cmake-commits] CMake branch, master, updated. 4d6e0f39c2cd40c2dfba94ac1e5b39e543cf946a
cmake-commits at cmake.org
cmake-commits at cmake.org
Sun Apr 11 14:41:17 EDT 2010
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, master has been updated
via 4d6e0f39c2cd40c2dfba94ac1e5b39e543cf946a (commit)
from 44f631e6df2286ac7a0d1a90543eb57e20caa5c4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4d6e0f39c2cd40c2dfba94ac1e5b39e543cf946a
commit 4d6e0f39c2cd40c2dfba94ac1e5b39e543cf946a
Author: Kovarththanan Rajaratnam <kovarththanan.rajaratnam at gmail.com>
Date: Sun Apr 11 20:31:17 2010 +0200
FindSubversion: simplify using FindPackageHandleStandardArgs()
diff --git a/Modules/FindSubversion.cmake b/Modules/FindSubversion.cmake
index c33df1d..58a179d 100644
--- a/Modules/FindSubversion.cmake
+++ b/Modules/FindSubversion.cmake
@@ -109,14 +109,5 @@ IF(Subversion_SVN_EXECUTABLE)
ENDIF(Subversion_SVN_EXECUTABLE)
-IF(NOT Subversion_FOUND)
- IF(NOT Subversion_FIND_QUIETLY)
- MESSAGE(STATUS "Subversion was not found.")
- ELSE(NOT Subversion_FIND_QUIETLY)
- IF(Subversion_FIND_REQUIRED)
- MESSAGE(FATAL_ERROR "Subversion was not found.")
- ENDIF(Subversion_FIND_REQUIRED)
- ENDIF(NOT Subversion_FIND_QUIETLY)
-ENDIF(NOT Subversion_FOUND)
-
-# FindSubversion.cmake ends here.
+INCLUDE(FindPackageHandleStandardArgs)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(Subversion DEFAULT_MSG Subversion_SVN_EXECUTABLE)
-----------------------------------------------------------------------
Summary of changes:
Modules/FindSubversion.cmake | 13 ++-----------
1 files changed, 2 insertions(+), 11 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list