aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2009-06-25 07:58:38 +0000
committerRalf Habacker <ralf.habacker@freenet.de>2009-06-25 07:58:38 +0000
commitb27d904b1e3e07e9e61217b6575ef148be8d8f53 (patch)
treeafef5b61187616605f7b7ce3b06c92780990ba8d
parentff23bc780fa3f7623bff89a7d85baf7a60749d8e (diff)
downloadextra-cmake-modules-b27d904b1e3e07e9e61217b6575ef148be8d8f53.tar.gz
extra-cmake-modules-b27d904b1e3e07e9e61217b6575ef148be8d8f53.tar.bz2
libsasl2 add, because the windows package of cyrus-sasl2 contains a libsasl2 also for msvc which is not standard conform
svn path=/trunk/KDE/kdelibs/; revision=986838
-rw-r--r--modules/FindSasl2.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/FindSasl2.cmake b/modules/FindSasl2.cmake
index 855266fc..787b578c 100644
--- a/modules/FindSasl2.cmake
+++ b/modules/FindSasl2.cmake
@@ -19,7 +19,9 @@ endif (SASL2_INCLUDE_DIR)
FIND_PATH(SASL2_INCLUDE_DIR sasl/sasl.h
)
-FIND_LIBRARY(SASL2_LIBRARIES NAMES sasl2
+# libsasl2 add for windows, because the windows package of cyrus-sasl2
+# contains a libsasl2 also for msvc which is not standard conform
+FIND_LIBRARY(SASL2_LIBRARIES NAMES sasl2 libsasl2
)
include(FindPackageHandleStandardArgs)