Warning, /games/kgoldrunner/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 cmake_minimum_required (VERSION 3.16 FATAL_ERROR)
0002 
0003 # KDE Application 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_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}")
0008 
0009 project(kgoldrunner VERSION ${RELEASE_SERVICE_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(ECMInstallIcons)
0022 include(ECMAddAppIcon)
0023 include(ECMQtDeclareLoggingCategory)
0024 include(ECMSetupVersion)
0025 include(FeatureSummary)
0026 include(InternalMacros)
0027 include(ECMDeprecationSettings)
0028 
0029 find_package(Qt6 ${QT_MIN_VERSION} REQUIRED COMPONENTS
0030     Gui
0031     Widgets
0032 )
0033 
0034 find_package(KF6 ${KF_MIN_VERSION} REQUIRED COMPONENTS
0035     Config
0036     ConfigWidgets
0037     CoreAddons
0038     Crash
0039     DBusAddons
0040     DocTools
0041     I18n
0042     KIO
0043     WidgetsAddons
0044     XmlGui
0045 )
0046 
0047 find_package(KDEGames6 6.0.0 REQUIRED)
0048 
0049 ecm_set_disabled_deprecation_versions(
0050     QT 6.5
0051     KF 5.239
0052     KDEGAMES 6.0
0053 )
0054 
0055 add_subdirectory(src)
0056 add_subdirectory(gamedata)
0057 add_subdirectory(themes)
0058 add_subdirectory(doc)
0059 
0060 ki18n_install(po)
0061 kdoctools_install(po)
0062 
0063 feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)