Warning, /education/kgeography/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(kgeography VERSION ${RELEASE_SERVICE_VERSION})
0010 
0011 # minimal Qt requirement
0012 set(QT_MIN_VERSION "6.5.0")
0013 set(KF_REQUIRED_VERSION "5.240.0")
0014 
0015 # ECM
0016 find_package (ECM ${KF_REQUIRED_VERSION} REQUIRED NO_MODULE)
0017 
0018 # where to look first for cmake modules
0019 set (CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
0020 
0021 include(KDEInstallDirs)
0022 include(KDECompilerSettings NO_POLICY_SCOPE)
0023 include(KDECMakeSettings)
0024 include(FeatureSummary)
0025 include(ECMAddAppIcon)
0026 include(ECMInstallIcons)
0027 include(ECMSetupVersion)
0028 
0029 find_package (Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} CONFIG REQUIRED Core Widgets)
0030 
0031 find_package (KF${QT_MAJOR_VERSION} ${KF_REQUIRED_VERSION} REQUIRED COMPONENTS
0032     XmlGui WidgetsAddons CoreAddons ConfigWidgets I18n ItemViews IconThemes Crash DocTools
0033 )
0034 
0035 # global include directories
0036 include_directories (${CMAKE_CURRENT_BINARY_DIR})
0037 
0038 add_subdirectory( doc )
0039 add_subdirectory( src ) 
0040 add_subdirectory( data ) 
0041 add_subdirectory( icons ) 
0042 
0043 ki18n_install(po)
0044 if (KF${QT_MAJOR_VERSION}DocTools_FOUND)
0045     kdoctools_install(po)
0046 endif()
0047 
0048 feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)