Warning, /utilities/kdialog/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 cmake_minimum_required(VERSION 3.16) 0002 0003 # KDE Application Version, managed by release script 0004 set(RELEASE_SERVICE_VERSION_MAJOR "24") 0005 set(RELEASE_SERVICE_VERSION_MINOR "01") 0006 set(RELEASE_SERVICE_VERSION_MICRO "95") 0007 set(RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}") 0008 0009 project(KDialog VERSION ${RELEASE_SERVICE_VERSION}) 0010 0011 set(QT_MIN_VERSION "6.5.0") 0012 set(KF_MIN_VERSION "5.240.0") 0013 0014 # ECM setup 0015 find_package(ECM ${KF_MIN_VERSION} CONFIG REQUIRED) 0016 set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH}) 0017 0018 include(KDEInstallDirs) 0019 include(KDECMakeSettings) 0020 include(KDECompilerSettings NO_POLICY_SCOPE) 0021 0022 include(ECMDeprecationSettings) 0023 include(ECMSetupVersion) 0024 include(FeatureSummary) 0025 # Build dependencies 0026 find_package(KF6 ${KF_MIN_VERSION} REQUIRED COMPONENTS TextWidgets Notifications GuiAddons IconThemes WindowSystem KIO DBusAddons) 0027 find_package(Qt6 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS DBus) 0028 0029 option(WITHOUT_X11 "Build without X11 integration (skips finding X11)" OFF) 0030 if (NOT WITHOUT_X11) 0031 find_package(X11) 0032 set(HAVE_X11 ${X11_FOUND}) 0033 endif() 0034 0035 ecm_set_disabled_deprecation_versions( 0036 QT 5.15 0037 KF 5.100 0038 KNOTIFICATIONS 5.78 # KPassivePopup 0039 ) 0040 0041 add_subdirectory(src) 0042 install(FILES org.kde.kdialog.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR}) 0043 ki18n_install(po) 0044 feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)