Warning, /utilities/markdownpart/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 cmake_minimum_required(VERSION 3.16)
0002 
0003 # Release Service 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_COMPACT_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}${RELEASE_SERVICE_VERSION_MINOR}${RELEASE_SERVICE_VERSION_MICRO}")
0008 
0009 # Bump MARKDOWNPART_BASE_VERSION once new features are added
0010 set(MARKDOWNPART_BASE_VERSION "0.1")
0011 set(MARKDOWNPART_VERSION "${MARKDOWNPART_BASE_VERSION}.${RELEASE_SERVICE_COMPACT_VERSION}")
0012 
0013 project(markdownpart VERSION ${MARKDOWNPART_VERSION})
0014 
0015 set(QT_MIN_VERSION "6.5.0")
0016 set(KF_MIN_VERSION "5.240.0")
0017 
0018 find_package(ECM ${KF_MIN_VERSION} REQUIRED NO_MODULE)
0019 set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
0020 
0021 include(KDEInstallDirs)
0022 include(KDECMakeSettings)
0023 include(KDECompilerSettings NO_POLICY_SCOPE)
0024 include(ECMDeprecationSettings)
0025 include(FeatureSummary)
0026 find_package(Qt6 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
0027     Widgets
0028 )
0029 
0030 find_package(KF6 ${KF_MIN_VERSION} REQUIRED COMPONENTS
0031     I18n
0032     Parts
0033 )
0034 
0035 ecm_set_disabled_deprecation_versions(
0036     QT 6.6
0037     KF 5.239
0038 )
0039 
0040 add_subdirectory(src)
0041 
0042 ki18n_install(po)
0043 
0044 feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)