Warning, /accessibility/kmag/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 cmake_minimum_required (VERSION 3.16 FATAL_ERROR)
0002 
0003 # KDE Application Version, managed by release script
0004 set (RELEASE_SERVICE_VERSION_MAJOR "23")
0005 set (RELEASE_SERVICE_VERSION_MINOR "08")
0006 set (RELEASE_SERVICE_VERSION_MICRO "1")
0007 set (RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}")
0008 
0009 project(kmag VERSION ${RELEASE_SERVICE_VERSION})
0010 
0011 set(QT_MIN_VERSION "5.15.2")
0012 set(KF_MIN_VERSION "5.92.0")
0013 
0014 find_package(ECM ${KF_MIN_VERSION} REQUIRED NO_MODULE)
0015 set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
0016 
0017 include(KDEInstallDirs)
0018 include(KDECMakeSettings)
0019 include(KDECompilerSettings NO_POLICY_SCOPE)
0020 include(ECMDeprecationSettings)
0021 if (QT_MAJOR_VERSION STREQUAL "6")
0022     set(QT_REQUIRED_VERSION "6.4.0")
0023     set(KF_MIN_VERSION "5.240.0")
0024     set(KF_MAJOR_VERSION "6")
0025 else()
0026     set(KF_MAJOR_VERSION "5")
0027 endif()
0028 
0029 include(ECMInstallIcons)
0030 include(FeatureSummary)
0031 include(ECMSetupVersion)
0032 
0033 find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
0034     Core
0035     Widgets
0036     PrintSupport
0037 )
0038 
0039 find_package(KF${KF_MAJOR_VERSION} ${KF_MIN_VERSION} REQUIRED COMPONENTS
0040     DocTools
0041     I18n
0042     KIO
0043     XmlGui
0044 )
0045 
0046 if (QT_MAJOR_VERSION STREQUAL "6")
0047     find_package(QAccessibilityClient6 0.4 CONFIG)
0048     set_package_properties(QAccessibilityClient6 PROPERTIES
0049         DESCRIPTION "KDE client-side accessibility library"
0050         URL "https://commits.kde.org/libqaccessibilityclient"
0051         TYPE OPTIONAL
0052         PURPOSE "Required to enable keyboard focus tracking."
0053     )
0054 else()
0055     find_package(QAccessibilityClient 0.4 CONFIG)
0056     set_package_properties(QAccessibilityClient PROPERTIES
0057         DESCRIPTION "KDE client-side accessibility library"
0058         URL "https://commits.kde.org/libqaccessibilityclient"
0059         TYPE OPTIONAL
0060         PURPOSE "Required to enable keyboard focus tracking."
0061     )
0062 endif()
0063 
0064 ecm_set_disabled_deprecation_versions(QT 6.4  KF 5.105.0)
0065 
0066 add_subdirectory( doc )
0067 add_subdirectory( pics )
0068 add_subdirectory( src )
0069 
0070 ki18n_install(po)
0071 kdoctools_install(po)
0072 
0073 feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)