Warning, /games/kblocks/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 "04") 0006 set(RELEASE_SERVICE_VERSION_MICRO "70") 0007 set(RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}") 0008 0009 project(kblocks VERSION ${RELEASE_SERVICE_VERSION}) 0010 0011 set(QT_MIN_VERSION "6.5.0") 0012 set(KF_MIN_VERSION "5.240.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(ECMAddTests) 0023 include(ECMQtDeclareLoggingCategory) 0024 include(ECMSetupVersion) 0025 include(ECMInstallIcons) 0026 include(FeatureSummary) 0027 include(InternalMacros) 0028 include(ECMDeprecationSettings) 0029 0030 find_package(Qt6 ${QT_MIN_VERSION} REQUIRED COMPONENTS 0031 Network 0032 Svg 0033 SvgWidgets 0034 Test 0035 Widgets 0036 ) 0037 0038 find_package(KF6 ${KF_MIN_VERSION} REQUIRED COMPONENTS 0039 Config 0040 ConfigWidgets 0041 CoreAddons 0042 Crash 0043 DocTools 0044 DBusAddons 0045 I18n 0046 WidgetsAddons 0047 XmlGui 0048 ) 0049 0050 find_package(KDEGames6 6.0.0 REQUIRED) 0051 0052 ecm_set_disabled_deprecation_versions( 0053 QT 6.5 0054 KF 5.239 0055 KDEGAMES 6.0 0056 ) 0057 0058 add_subdirectory(icons) 0059 add_subdirectory(themes) 0060 add_subdirectory(sounds) 0061 add_subdirectory(doc) 0062 add_subdirectory(src) 0063 0064 if(BUILD_TESTING) 0065 add_subdirectory(autotests) 0066 endif() 0067 0068 ki18n_install(po) 0069 kdoctools_install(po) 0070 0071 install(FILES kblocks.knsrc DESTINATION ${KDE_INSTALL_DATADIR}/knsrcfiles) 0072 0073 feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)