aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/FindSasl2.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/FindSasl2.cmake b/modules/FindSasl2.cmake
index 4d941806..b790f57d 100644
--- a/modules/FindSasl2.cmake
+++ b/modules/FindSasl2.cmake
@@ -5,6 +5,11 @@
# SASL2_INCLUDE_DIR - the SASL2 include directory
# SASL2_LIBRARIES - The libraries needed to use SASL2
+if (SASL2_INCLUDE_DIR)
+ # Already in cache, be silent
+ set(SASL2_FIND_QUIETLY TRUE)
+endif (SASL2_INCLUDE_DIR)
+
FIND_PATH(SASL2_INCLUDE_DIR sasl/sasl.h
/usr/include
/usr/local/include