Warning, /games/ksnakeduel/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 "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 KSNAKEDUEL_BASE_VERSION once new features are added 0010 set(KSNAKEDUEL_BASE_VERSION "2.1") 0011 set(KSNAKEDUEL_VERSION "${KSNAKEDUEL_BASE_VERSION}.${RELEASE_SERVICE_COMPACT_VERSION}") 0012 0013 project(ksnakeduel VERSION ${KSNAKEDUEL_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_CURRENT_SOURCE_DIR}/cmake ${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(ECMQtDeclareLoggingCategory) 0028 include(ECMSetupVersion) 0029 include(FeatureSummary) 0030 include(ECMDeprecationSettings) 0031 0032 find_package(Qt6 ${QT_MIN_VERSION} REQUIRED COMPONENTS 0033 Svg 0034 Widgets 0035 ) 0036 0037 find_package(KF6 ${KF_MIN_VERSION} REQUIRED COMPONENTS 0038 Completion 0039 Config 0040 ConfigWidgets 0041 CoreAddons 0042 Crash 0043 DBusAddons 0044 DocTools 0045 GuiAddons 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.239 0056 KDEGAMES 6.0 0057 ) 0058 0059 include(InternalMacros) 0060 0061 add_subdirectory(icons) 0062 add_subdirectory(themes) 0063 add_subdirectory(doc) 0064 add_subdirectory(src) 0065 0066 ki18n_install(po) 0067 kdoctools_install(po) 0068 0069 feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)