aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAllen Winter <winter@kde.org>2006-05-15 19:33:28 +0000
committerAllen Winter <winter@kde.org>2006-05-15 19:33:28 +0000
commit7084c97f730e23b18e38ffe0b1ac59246743c4f2 (patch)
tree60faf8f5dfbe3fd7c3800d37d05ebba296806203 /modules
parent14f067d7391b81094423fd71eb0b57920036eccf (diff)
downloadextra-cmake-modules-7084c97f730e23b18e38ffe0b1ac59246743c4f2.tar.gz
extra-cmake-modules-7084c97f730e23b18e38ffe0b1ac59246743c4f2.tar.bz2
Shh! if found in cache.
svn path=/trunk/KDE/kdelibs/; revision=541233
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