Warning, /games/klines/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 cmake_minimum_required (VERSION 3.16 FATAL_ERROR) 0002 0003 set (RELEASE_SERVICE_VERSION_MAJOR "24") 0004 set (RELEASE_SERVICE_VERSION_MINOR "04") 0005 set (RELEASE_SERVICE_VERSION_MICRO "70") 0006 set (RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}") 0007 set (RELEASE_SERVICE_COMPACT_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}${RELEASE_SERVICE_VERSION_MINOR}${RELEASE_SERVICE_VERSION_MICRO}") 0008 0009 project(klines VERSION "1.6.${RELEASE_SERVICE_COMPACT_VERSION}") 0010 0011 set(QT_MIN_VERSION "6.5.0") 0012 set(KF_MIN_VERSION "5.245.0") 0013 0014 find_package(ECM ${KF_MIN_VERSION} REQUIRED CONFIG) 0015 set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${ECM_MODULE_PATH}) 0016 0017 include(KDEInstallDirs) 0018 include(KDECMakeSettings) 0019 include(KDECompilerSettings NO_POLICY_SCOPE) 0020 0021 include(ECMAddAppIcon) 0022 include(ECMInstallIcons) 0023 include(ECMSetupVersion) 0024 include(ECMQtDeclareLoggingCategory) 0025 include(FeatureSummary) 0026 include(ECMDeprecationSettings) 0027 0028 include(InternalMacros) 0029 0030 find_package(Qt6 ${QT_MIN_VERSION} REQUIRED COMPONENTS 0031 Widgets 0032 ) 0033 0034 find_package(KF6 ${KF_MIN_VERSION} REQUIRED COMPONENTS 0035 CoreAddons 0036 Config 0037 Crash 0038 WidgetsAddons 0039 Config 0040 DBusAddons 0041 I18n 0042 ConfigWidgets 0043 XmlGui 0044 ) 0045 find_package(KF6DocTools ${KF_MIN_VERSION}) 0046 set_package_properties(KF6DocTools PROPERTIES DESCRIPTION 0047 "Tools to generate documentation" 0048 TYPE OPTIONAL 0049 ) 0050 0051 find_package(KDEGames6 6.0.0 REQUIRED) 0052 0053 ecm_set_disabled_deprecation_versions( 0054 QT 6.5 0055 KF 5.246 0056 KDEGAMES 6.0 0057 ) 0058 0059 add_subdirectory(themes) 0060 add_subdirectory(icons) 0061 add_subdirectory(src) 0062 0063 ki18n_install(po) 0064 if(KF6DocTools_FOUND) 0065 kdoctools_install(po) 0066 add_subdirectory(doc) 0067 endif() 0068 0069 feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)