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 "22")
0004 set (RELEASE_SERVICE_VERSION_MINOR "11")
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 "5.15.2")
0012 set (KF5_MIN_VERSION "5.90.0")
0013 
0014 find_package(ECM ${KF5_MIN_VERSION} REQUIRED CONFIG)
0015 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${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 
0027 find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Widgets)
0028 
0029 find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
0030     CoreAddons
0031     Config
0032     Crash
0033     WidgetsAddons
0034     Config
0035     DBusAddons
0036     I18n
0037     ConfigWidgets
0038     XmlGui
0039 )
0040 find_package(KF5DocTools ${KF5_MIN_VERSION})
0041 set_package_properties(KF5DocTools PROPERTIES DESCRIPTION
0042     "Tools to generate documentation"
0043     TYPE OPTIONAL
0044 )
0045 find_package(KF5KDEGames 7.3.0 REQUIRED)
0046 
0047 add_definitions(
0048     -DQT_DISABLE_DEPRECATED_BEFORE=0x050F00
0049     -DQT_DEPRECATED_WARNINGS_SINCE=0x060000
0050     -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055600
0051     -DKF_DEPRECATED_WARNINGS_SINCE=0x060000
0052 )
0053 
0054 add_subdirectory(themes)
0055 add_subdirectory(icons)
0056 add_subdirectory(src)
0057 
0058 ki18n_install(po)
0059 if(KF5DocTools_FOUND)
0060     kdoctools_install(po)
0061     add_subdirectory(doc)
0062 endif()
0063 
0064 feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)