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 "01") 0006 set (RELEASE_SERVICE_VERSION_MICRO "95") 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.240.0") 0017 0018 find_package(ECM ${KF_MIN_VERSION} REQUIRED CONFIG) 0019 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${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 find_package(Qt6 ${QT_MIN_VERSION} REQUIRED COMPONENTS 0034 Core 0035 Widgets 0036 Svg 0037 Test 0038 ) 0039 find_package(KF6 ${KF_MIN_VERSION} REQUIRED COMPONENTS 0040 CoreAddons 0041 Crash 0042 DBusAddons 0043 DocTools 0044 I18n 0045 WidgetsAddons 0046 XmlGui 0047 ) 0048 0049 find_package(KDEGames6 6.0.0 REQUIRED) 0050 0051 ecm_set_disabled_deprecation_versions( 0052 QT 6.5 0053 KF 5.239 0054 KDEGAMES 6.0 0055 ) 0056 0057 add_subdirectory(themes) 0058 add_subdirectory(icons) 0059 add_subdirectory(doc) 0060 add_subdirectory(levels) 0061 add_subdirectory(src) 0062 add_subdirectory(test) 0063 0064 install(FILES ${CMAKE_SOURCE_DIR}/org.kde.picmi.desktop DESTINATION ${KDE_INSTALL_APPDIR}) 0065 install(FILES ${CMAKE_SOURCE_DIR}/org.kde.picmi.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR}) 0066 0067 ki18n_install(po) 0068 kdoctools_install(po) 0069 0070 ecm_qt_install_logging_categories(EXPORT PICMI FILE picmi.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}) 0071 feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES) 0072 0073 # vim:set ts=4 sw=4 et: