Warning, /libraries/libqaccessibilityclient/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 cmake_minimum_required(VERSION 3.16.0)
0002 
0003 project(QAccessibilityClient VERSION "0.6.0")
0004 
0005 include(FeatureSummary)
0006 set(KF5_MIN_VERSION "5.91.0")
0007 set(REQUIRED_QT_VERSION "5.15.2")
0008 
0009 find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
0010 set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://api.kde.org/frameworks/extra-cmake-modules/html/index.html")
0011 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH})
0012 
0013 include(KDEInstallDirs)
0014 include(KDECMakeSettings)
0015 include(KDECompilerSettings NO_POLICY_SCOPE)
0016 
0017 include(ECMSetupVersion)
0018 include(ECMGenerateExportHeader)
0019 include(ECMDeprecationSettings)
0020 include(ECMQtDeclareLoggingCategory)
0021 include(CMakePackageConfigHelpers)
0022 
0023 if(BUILD_TESTING)
0024     enable_testing()
0025     set(QT_OTHER_COMPONENTS Test)
0026 endif()
0027 
0028 if (QT_MAJOR_VERSION STREQUAL "6")
0029     set(REQUIRED_QT_VERSION "6.5.0")
0030 endif()
0031 
0032 find_package(Qt${QT_MAJOR_VERSION} ${REQUIRED_QT_VERSION} CONFIG REQUIRED COMPONENTS
0033     Widgets
0034     DBus
0035     ${QT_OTHER_COMPONENTS}
0036 )
0037 
0038 if (QT_MAJOR_VERSION STREQUAL "6")
0039     ecm_set_disabled_deprecation_versions(
0040         QT 6.6
0041     )
0042 else()
0043     ecm_set_disabled_deprecation_versions(
0044         QT 5.15.2
0045     )
0046 endif()
0047 
0048 add_subdirectory(src)
0049 
0050 if(BUILD_TESTING)
0051     add_subdirectory(tests)
0052     add_subdirectory(examples)
0053 endif()
0054 
0055 ecm_qt_install_logging_categories(
0056         EXPORT LIBQACCESSIBILITYCLIENT
0057         FILE libqaccessibilityclient.categories
0058         DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}
0059         )
0060 
0061 feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES)