Warning, /frameworks/kdelibs4support/cmake/modules/FindSasl2.cmake is written in an unsupported language. File is not indexed.
0001 # - Try to find the sasl2 directory library 0002 # Once done this will define 0003 # 0004 # SASL2_FOUND - system has SASL2 0005 # SASL2_INCLUDE_DIR - the SASL2 include directory 0006 # SASL2_LIBRARIES - The libraries needed to use SASL2 0007 0008 # Copyright (c) 2006, 2007 Laurent Montel, <montel@kde.org> 0009 # 0010 # Redistribution and use is allowed according to the terms of the BSD license. 0011 # For details see the accompanying COPYING-CMAKE-SCRIPTS file. 0012 0013 0014 find_path(SASL2_INCLUDE_DIR sasl/sasl.h 0015 ) 0016 0017 # libsasl2 add for windows, because the windows package of cyrus-sasl2 0018 # contains a libsasl2 also for msvc which is not standard conform 0019 find_library(SASL2_LIBRARIES NAMES sasl2 libsasl2 0020 ) 0021 0022 include(FindPackageHandleStandardArgs) 0023 find_package_handle_standard_args(Sasl2 DEFAULT_MSG SASL2_LIBRARIES SASL2_INCLUDE_DIR) 0024 0025 mark_as_advanced(SASL2_INCLUDE_DIR SASL2_LIBRARIES) 0026