Warning, /games/picmi/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 cmake_minimum_required (VERSION 3.16 FATAL_ERROR) 0002 0003 # KDE Gear version, managed by release script 0004 set (RELEASE_SERVICE_VERSION_MAJOR "24") 0005 set (RELEASE_SERVICE_VERSION_MINOR "04") 0006 set (RELEASE_SERVICE_VERSION_MICRO "70") 0007 set (RELEASE_SERVICE_COMPACT_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}${RELEASE_SERVICE_VERSION_MINOR}${RELEASE_SERVICE_VERSION_MICRO}") 0008 0009 # Bump PICMI_BASE_VERSION once new features are added 0010 set(PICMI_BASE_VERSION "2.0") 0011 set(PICMI_VERSION "${PICMI_BASE_VERSION}.${RELEASE_SERVICE_COMPACT_VERSION}") 0012 0013 project(picmi VERSION ${PICMI_VERSION}) 0014 0015 set(QT_MIN_VERSION "6.5.0") 0016 set(KF_MIN_VERSION "5.245.0") 0017 0018 find_package(ECM ${KF_MIN_VERSION} REQUIRED CONFIG) 0019 set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${ECM_MODULE_PATH}) 0020 0021 include(KDEInstallDirs) 0022 include(KDECMakeSettings) 0023 include(KDECompilerSettings NO_POLICY_SCOPE) 0024 0025 include(FeatureSummary) 0026 include(ECMAddAppIcon) 0027 include(ECMInstallIcons) 0028 include(ECMAddTests) 0029 include(ECMQtDeclareLoggingCategory) 0030 include(ECMDeprecationSettings) 0031 include(ECMSetupVersion) 0032 0033 include(InternalMacros) 0034 0035 find_package(Qt6 ${QT_MIN_VERSION} REQUIRED COMPONENTS 0036 Core 0037 Widgets 0038 Svg 0039 Test 0040 ) 0041 find_package(KF6 ${KF_MIN_VERSION} REQUIRED COMPONENTS 0042 CoreAddons 0043 Crash 0044 DBusAddons 0045 DocTools 0046 I18n 0047 WidgetsAddons 0048 XmlGui 0049 ) 0050 0051 find_package(KDEGames6 6.0.0 REQUIRED) 0052 0053 ecm_set_disabled_deprecation_versions( 0054 QT 6.5 0055 KF 5.245 0056 KDEGAMES 6.0 0057 ) 0058 0059 add_subdirectory(themes) 0060 add_subdirectory(icons) 0061 add_subdirectory(doc) 0062 add_subdirectory(levels) 0063 add_subdirectory(src) 0064 add_subdirectory(test) 0065 0066 install(FILES ${CMAKE_SOURCE_DIR}/org.kde.picmi.desktop DESTINATION ${KDE_INSTALL_APPDIR}) 0067 install(FILES ${CMAKE_SOURCE_DIR}/org.kde.picmi.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR}) 0068 0069 ki18n_install(po) 0070 kdoctools_install(po) 0071 0072 ecm_qt_install_logging_categories(EXPORT PICMI FILE picmi.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}) 0073 feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES) 0074 0075 # vim:set ts=4 sw=4 et: