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

0001 cmake_minimum_required(VERSION 3.16)
0002 
0003 project(klimbgrades VERSION 0.1)
0004 
0005 set(KF5_MIN_VERSION "5.18.0")
0006 set(QT_MIN_VERSION "5.15.0")
0007 
0008 find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
0009 
0010 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
0011 
0012 include(FeatureSummary)
0013 include(KDEInstallDirs)
0014 include(KDECMakeSettings)
0015 include(ECMPoQmTools)
0016 include(KDECompilerSettings NO_POLICY_SCOPE)
0017 
0018 find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Core Quick Test Gui Svg QuickControls2)
0019 
0020 if(NOT ANDROID)
0021     find_package(Qt${QT_MAJOR_VERSION}Widgets REQUIRED)
0022 endif()
0023 
0024 find_package(KF5Config ${KF5_DEP_VERSION} "5.22.0")
0025 find_package(KF5Kirigami2 ${KF5_DEP_VERSION} "5.22.0")
0026 
0027 set (CMAKE_CXX_STANDARD 11)
0028 
0029 add_subdirectory(src)
0030 
0031 if (ANDROID)
0032     configure_file(${CMAKE_CURRENT_SOURCE_DIR}/android/version.gradle.in ${CMAKE_BINARY_DIR}/version.gradle)
0033 endif()
0034 
0035 if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po")
0036     ecm_install_po_files_as_qm(po)
0037 endif()
0038 
0039 install(FILES org.kde.klimbgrades.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
0040 install(PROGRAMS org.kde.klimbgrades.desktop DESTINATION ${KDE_INSTALL_APPDIR})
0041 
0042 feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
0043