Warning, /graphics/digikam/core/libs/dplugins/webservices/o2/cmake/modules/FindQtKeychain.cmake is written in an unsupported language. File is not indexed.

0001 # (c) 2014 Copyright ownCloud GmbH
0002 # SPDX-License-Identifier: BSD-3-Clause
0003 # For details see the accompanying COPYING* file.
0004 
0005 # - Try to find QtKeychain
0006 # Once done this will define
0007 #  QTKEYCHAIN_FOUND - System has QtKeychain
0008 #  QTKEYCHAIN_INCLUDE_DIRS - The QtKeychain include directories
0009 #  QTKEYCHAIN_LIBRARIES - The libraries needed to use QtKeychain
0010 #  QTKEYCHAIN_DEFINITIONS - Compiler switches required for using LibXml2
0011 
0012 find_path(QTKEYCHAIN_INCLUDE_DIR
0013         NAMES
0014         keychain.h
0015         PATH_SUFFIXES
0016         qtkeychain
0017         )
0018 
0019 
0020 find_library(QTKEYCHAIN_LIBRARY
0021         NAMES
0022         qtkeychain
0023         libqtkeychain
0024         PATHS
0025         /usr/lib
0026         /usr/lib/${CMAKE_ARCH_TRIPLET}
0027         /usr/local/lib
0028         /opt/local/lib
0029         ${CMAKE_LIBRARY_PATH}
0030         ${CMAKE_INSTALL_PREFIX}/lib
0031         )
0032 
0033 include(FindPackageHandleStandardArgs)
0034 # handle the QUIETLY and REQUIRED arguments and set QTKEYCHAIN_FOUND to TRUE
0035 # if all listed variables are TRUE
0036 find_package_handle_standard_args(QtKeychain  DEFAULT_MSG
0037         QTKEYCHAIN_LIBRARY QTKEYCHAIN_INCLUDE_DIR)
0038 
0039 mark_as_advanced(QTKEYCHAIN_INCLUDE_DIR QTKEYCHAIN_LIBRARY)