[Cmake-commits] CMake branch, next, updated. v2.8.7-2866-gc06351d

Rolf Eike Beer eike at sf-mail.de
Sat Feb 25 08:53:23 EST 2012


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, next has been updated
       via  c06351d0776addf68a1a5277d14fcc74e763e6c7 (commit)
       via  213eb6e6a6517775a3b538681e6c334abcdf5d5f (commit)
      from  5dce3dd5de0f9bba8d946496747da4637214a203 (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=c06351d0776addf68a1a5277d14fcc74e763e6c7
commit c06351d0776addf68a1a5277d14fcc74e763e6c7
Merge: 5dce3dd 213eb6e
Author:     Rolf Eike Beer <eike at sf-mail.de>
AuthorDate: Sat Feb 25 08:53:21 2012 -0500
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Sat Feb 25 08:53:21 2012 -0500

    Merge topic 'fix-findhspell-version' into next
    
    213eb6e FindHSPELL: set HSPELL_VERSION_STRING


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=213eb6e6a6517775a3b538681e6c334abcdf5d5f
commit 213eb6e6a6517775a3b538681e6c334abcdf5d5f
Author:     Rolf Eike Beer <eike at sf-mail.de>
AuthorDate: Sat Feb 25 14:52:19 2012 +0100
Commit:     Rolf Eike Beer <eike at sf-mail.de>
CommitDate: Sat Feb 25 14:52:19 2012 +0100

    FindHSPELL: set HSPELL_VERSION_STRING
    
    This variable was documented, but never set.

diff --git a/Modules/FindHSPELL.cmake b/Modules/FindHSPELL.cmake
index 054f565..ca5709b 100644
--- a/Modules/FindHSPELL.cmake
+++ b/Modules/FindHSPELL.cmake
@@ -32,12 +32,15 @@ IF (HSPELL_INCLUDE_DIR)
     FILE(READ "${HSPELL_INCLUDE_DIR}/hspell.h" HSPELL_H)
     STRING(REGEX REPLACE ".*#define HSPELL_VERSION_MAJOR ([0-9]+).*" "\\1" HSPELL_VERSION_MAJOR "${HSPELL_H}")
     STRING(REGEX REPLACE ".*#define HSPELL_VERSION_MINOR ([0-9]+).*" "\\1" HSPELL_VERSION_MINOR "${HSPELL_H}")
+    SET(HSPELL_VERSION_STRING "${HSPELL_VERSION_MAJOR}.${HSPELL_VERSION_MINOR}")
 ENDIF()
 
 # handle the QUIETLY and REQUIRED arguments and set HSPELL_FOUND to TRUE if 
 # all listed variables are TRUE
 INCLUDE(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(HSPELL DEFAULT_MSG HSPELL_LIBRARIES HSPELL_INCLUDE_DIR)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(HSPELL
+                                  REQUIRED_VARS HSPELL_LIBRARIES HSPELL_INCLUDE_DIR
+                                  VERSION_VAR HSPELL_VERSION_STRING)
 
 MARK_AS_ADVANCED(HSPELL_INCLUDE_DIR HSPELL_LIBRARIES)
 

-----------------------------------------------------------------------

Summary of changes:
 Modules/FindHSPELL.cmake |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list