diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2010-04-16 08:09:07 (GMT) |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2010-04-16 08:09:07 (GMT) |
commit | 99313f4fe99302c9688874ec7a36ef657e9a12b7 (patch) | |
tree | 518047fc0498cd7f58445c90e67a31a6c8b21174 /Modules/FindHSPELL.cmake | |
parent | 8df8fd8868f50df7a3e5b02ba5d6b070933039a5 (diff) | |
download | CMake-99313f4fe99302c9688874ec7a36ef657e9a12b7.zip CMake-99313f4fe99302c9688874ec7a36ef657e9a12b7.tar.gz CMake-99313f4fe99302c9688874ec7a36ef657e9a12b7.tar.bz2 |
FindHSPELL: no need to set QUIETLY explicitly
Diffstat (limited to 'Modules/FindHSPELL.cmake')
-rw-r--r-- | Modules/FindHSPELL.cmake | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/Modules/FindHSPELL.cmake b/Modules/FindHSPELL.cmake index 9ae4a52..8942b25 100644 --- a/Modules/FindHSPELL.cmake +++ b/Modules/FindHSPELL.cmake @@ -20,21 +20,14 @@ # (To distributed this file outside of CMake, substitute the full # License text for the above reference.) -IF (HSPELL_INCLUDE_DIR AND HSPELL_LIBRARIES) - # Already in cache, be silent - SET(HSPELL_FIND_QUIETLY TRUE) -ENDIF (HSPELL_INCLUDE_DIR AND HSPELL_LIBRARIES) +FIND_PATH(HSPELL_INCLUDE_DIR hspell.h) - -FIND_PATH(HSPELL_INCLUDE_DIR hspell.h ) - -FIND_LIBRARY(HSPELL_LIBRARIES NAMES hspell ) +FIND_LIBRARY(HSPELL_LIBRARIES NAMES hspell) # handle the QUIETLY and REQUIRED arguments and set HSPELL_FOUND to TRUE if # all listed variables are TRUE INCLUDE(FindPackageHandleStandardArgs) FIND_PACKAGE_HANDLE_STANDARD_ARGS(HSPELL DEFAULT_MSG HSPELL_LIBRARIES HSPELL_INCLUDE_DIR) - MARK_AS_ADVANCED(HSPELL_INCLUDE_DIR HSPELL_LIBRARIES) |