properly compute width of containing block of inline elements
[kdelibs.git] / cmake / modules / FindSasl2.cmake
blob855266fc9ace740d060d07d1dbbfef7802809bee
1 # - Try to find the sasl2 directory library
2 # Once done this will define
4 #  SASL2_FOUND - system has SASL2
5 #  SASL2_INCLUDE_DIR - the SASL2 include directory
6 #  SASL2_LIBRARIES - The libraries needed to use SASL2
8 # Copyright (c) 2006, 2007 Laurent Montel, <montel@kde.org>
10 # Redistribution and use is allowed according to the terms of the BSD license.
11 # For details see the accompanying COPYING-CMAKE-SCRIPTS file.
14 if (SASL2_INCLUDE_DIR)
15   # Already in cache, be silent
16   set(SASL2_FIND_QUIETLY TRUE)
17 endif (SASL2_INCLUDE_DIR)
19 FIND_PATH(SASL2_INCLUDE_DIR sasl/sasl.h
22 FIND_LIBRARY(SASL2_LIBRARIES NAMES sasl2
25 include(FindPackageHandleStandardArgs)
26 FIND_PACKAGE_HANDLE_STANDARD_ARGS(Sasl2 DEFAULT_MSG SASL2_INCLUDE_DIR SASL2_LIBRARIES)
28 MARK_AS_ADVANCED(SASL2_INCLUDE_DIR SASL2_LIBRARIES)