Warning, /graphics/digikam/core/libs/dplugins/webservices/o2/cmake/modules/FindQt5Keychain.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 qt5keychain 0017 ) 0018 0019 find_library(QTKEYCHAIN_LIBRARY 0020 NAMES 0021 qt5keychain 0022 lib5qtkeychain 0023 PATHS 0024 /usr/lib 0025 /usr/lib/${CMAKE_ARCH_TRIPLET} 0026 /usr/local/lib 0027 /opt/local/lib 0028 ${CMAKE_LIBRARY_PATH} 0029 ${CMAKE_INSTALL_PREFIX}/lib 0030 ) 0031 0032 include(FindPackageHandleStandardArgs) 0033 # handle the QUIETLY and REQUIRED arguments and set QTKEYCHAIN_FOUND to TRUE 0034 # if all listed variables are TRUE 0035 find_package_handle_standard_args(Qt5Keychain DEFAULT_MSG 0036 QTKEYCHAIN_LIBRARY QTKEYCHAIN_INCLUDE_DIR) 0037 0038 mark_as_advanced(QTKEYCHAIN_INCLUDE_DIR QTKEYCHAIN_LIBRARY)