Warning, /games/lskat/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 LSKAT_BASE_VERSION once new features are added
0010 set(LSKAT_BASE_VERSION "1.50")
0011 
0012 set(LSKAT_VERSION "${LSKAT_BASE_VERSION}.${RELEASE_SERVICE_COMPACT_VERSION}")
0013 
0014 project(lskat VERSION ${LSKAT_VERSION})
0015 
0016 set(QT_MIN_VERSION "6.5.0")
0017 set(KF_MIN_VERSION "5.245.0")
0018 
0019 find_package(ECM ${KF_MIN_VERSION} REQUIRED CONFIG)
0020 set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${ECM_MODULE_PATH})
0021 
0022 include(KDEInstallDirs)
0023 include(KDECMakeSettings)
0024 include(KDECompilerSettings NO_POLICY_SCOPE)
0025 
0026 include(ECMAddAppIcon)
0027 include(ECMInstallIcons)
0028 include(ECMQtDeclareLoggingCategory)
0029 include(ECMSetupVersion)
0030 include(FeatureSummary)
0031 include(ECMDeprecationSettings)
0032 
0033 include(InternalMacros)
0034 
0035 find_package(Qt6 ${QT_MIN_VERSION} REQUIRED COMPONENTS
0036     Gui
0037     Svg
0038     Widgets
0039 )
0040 
0041 find_package(KF6 ${KF_MIN_VERSION} REQUIRED COMPONENTS
0042     Config
0043     CoreAddons
0044     Crash
0045     DBusAddons
0046     DocTools
0047     GuiAddons
0048     I18n
0049     WidgetsAddons
0050     XmlGui
0051 )
0052 
0053 find_package(KDEGames6 6.0.0 REQUIRED)
0054 
0055 ecm_set_disabled_deprecation_versions(
0056     QT 6.5
0057     KF 5.245
0058     KDEGAMES 6.0
0059 )
0060 
0061 add_subdirectory(src)
0062 add_subdirectory(themes)
0063 add_subdirectory(icons)
0064 add_subdirectory(doc)
0065 
0066 ########### install files ###############
0067 install(PROGRAMS org.kde.lskat.desktop  DESTINATION  ${KDE_INSTALL_APPDIR})
0068 install(FILES org.kde.lskat.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
0069 
0070 ki18n_install(po)
0071 kdoctools_install(po)
0072 
0073 feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)