Warning, /games/konquest/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 cmake_minimum_required(VERSION 3.16 FATAL_ERROR) 0002 0003 # Release Service 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 KONQUEST_BASE_VERSION once new features are added 0010 set(KONQUEST_BASE_VERSION "2.4") 0011 set(KONQUEST_VERSION "${KONQUEST_BASE_VERSION}.${RELEASE_SERVICE_COMPACT_VERSION}") 0012 0013 project(konquest VERSION ${KONQUEST_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(ECMAddAppIcon) 0026 include(ECMInstallIcons) 0027 include(ECMSetupVersion) 0028 include(ECMDeprecationSettings) 0029 include(FeatureSummary) 0030 0031 find_package(Qt6 ${QT_MIN_VERSION} REQUIRED COMPONENTS 0032 Widgets 0033 StateMachine 0034 Svg 0035 ) 0036 0037 find_package(KF6 ${KF_MIN_VERSION} REQUIRED COMPONENTS 0038 ColorScheme 0039 Config 0040 CoreAddons 0041 Crash 0042 DBusAddons 0043 DocTools 0044 GuiAddons 0045 I18n 0046 XmlGui 0047 WidgetsAddons 0048 ) 0049 0050 find_package(KDEGames6 6.0.0 REQUIRED) 0051 0052 ecm_set_disabled_deprecation_versions( 0053 QT 6.5 0054 KF 5.239 0055 KDEGAMES 6.0 0056 ) 0057 0058 option(KONQUEST_EXAMPLE_PLAYER "Include example player" OFF) 0059 0060 add_subdirectory( pics ) 0061 add_subdirectory( doc ) 0062 add_subdirectory( icons ) 0063 add_subdirectory( src ) 0064 0065 ki18n_install(po) 0066 kdoctools_install(po) 0067 0068 feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)