Warning, /games/kubrick/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(kubrick VERSION "1.1.${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(FeatureSummary)
0022 include(ECMAddAppIcon)
0023 include(ECMInstallIcons)
0024 include(ECMSetupVersion)
0025 include(ECMQtDeclareLoggingCategory)
0026 include(ECMDeprecationSettings)
0027 
0028 include(InternalMacros)
0029 
0030 find_package(Qt6 ${QT_MIN_VERSION} REQUIRED COMPONENTS
0031     OpenGLWidgets
0032     Svg
0033     Widgets
0034 )
0035 
0036 find_package(KF6 ${KF_MIN_VERSION} REQUIRED COMPONENTS
0037     Config
0038     ConfigWidgets
0039     CoreAddons
0040     Crash
0041     DBusAddons
0042     DocTools
0043     I18n
0044     WidgetsAddons
0045     XmlGui
0046 )
0047 
0048 find_package(KDEGames6 6.0.0 REQUIRED)
0049 
0050 find_package(OpenGL REQUIRED)
0051 
0052 ecm_set_disabled_deprecation_versions(
0053     QT 6.5
0054     KF 5.245
0055     KDEGAMES 6.0
0056 )
0057 
0058 add_subdirectory(src)
0059 add_subdirectory(data)
0060 add_subdirectory(themes)
0061 add_subdirectory(doc)
0062 
0063 ki18n_install(po)
0064 kdoctools_install(po)
0065 
0066 ecm_qt_install_logging_categories(EXPORT KUBRICK FILE kubrick.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR})
0067 feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)