aboutsummaryrefslogtreecommitdiff
path: root/modules/FindASPELL.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'modules/FindASPELL.cmake')
-rw-r--r--modules/FindASPELL.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/FindASPELL.cmake b/modules/FindASPELL.cmake
index 9d856c60..0333de0c 100644
--- a/modules/FindASPELL.cmake
+++ b/modules/FindASPELL.cmake
@@ -7,6 +7,10 @@
# ASPELL_DEFINITIONS - Compiler switches required for using ASPELL
#
+if (ASPELL_INCLUDE_DIR AND ASPELL_LIBRARIES)
+ # Already in cache, be silent
+ set(ASPELL_FIND_QUIETLY TRUE)
+endif (ASPELL_INCLUDE_DIR AND ASPELL_LIBRARIES)
FIND_PATH(ASPELL_INCLUDE_DIR aspell.h
/usr/include