diff options
Diffstat (limited to 'modules/FindHSPELL.cmake')
-rw-r--r-- | modules/FindHSPELL.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/FindHSPELL.cmake b/modules/FindHSPELL.cmake index ba8b21aa..0a029fb8 100644 --- a/modules/FindHSPELL.cmake +++ b/modules/FindHSPELL.cmake @@ -7,6 +7,11 @@ # HSPELL_DEFINITIONS - Compiler switches required for using HSPELL # +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 /usr/include |