Warning, /multimedia/kamoso/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 cmake_minimum_required (VERSION 3.5 FATAL_ERROR)
0002 
0003 # KDE Application Version, managed by release script
0004 set (RELEASE_SERVICE_VERSION_MAJOR "22")
0005 set (RELEASE_SERVICE_VERSION_MINOR "11")
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(Kamoso VERSION ${RELEASE_SERVICE_VERSION})
0010 
0011 set(KF5_MIN_VERSION 5.70.0)
0012 
0013 find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
0014 set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH}  ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
0015 
0016 find_package(Qt5 NO_MODULE REQUIRED COMPONENTS Core Gui Widgets Quick)
0017 find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS Config DocTools KIO I18n Purpose Notifications)
0018 
0019 find_package(PkgConfig REQUIRED)
0020 pkg_check_modules(GStreamer IMPORTED_TARGET gstreamer-1.0)
0021 pkg_check_modules(GStreamerVideo IMPORTED_TARGET gstreamer-video-1.0)
0022 
0023 find_package(KF5Kirigami2)
0024 set_package_properties(KF5Kirigami2 PROPERTIES
0025     DESCRIPTION "A QtQuick based components set"
0026     PURPOSE "Required at runtime"
0027     TYPE RUNTIME
0028 )
0029 
0030 include(ECMQMLModules)
0031 ecm_find_qmlmodule(QtGraphicalEffects 1.0)
0032 ecm_find_qmlmodule(QtQml 2.2)
0033 ecm_find_qmlmodule(QtQuick 2.5)
0034 ecm_find_qmlmodule(QtQuick.Controls 2.2)
0035 ecm_find_qmlmodule(QtQuick.Dialogs 1.0)
0036 ecm_find_qmlmodule(QtQuick.Layouts 1.1)
0037 ecm_find_qmlmodule(QtQuick.Window 2.2)
0038 
0039 include(KDEInstallDirs)
0040 include(KDECompilerSettings NO_POLICY_SCOPE)
0041 include(KDECMakeSettings)
0042 include(ECMInstallIcons)
0043 include(ECMAddTests)
0044 include(FeatureSummary)
0045 include(ECMSetupVersion)
0046 add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
0047 
0048 add_subdirectory(src)
0049 add_subdirectory(icons)
0050 add_subdirectory(doc)
0051 
0052 ki18n_install(po)
0053 kdoctools_install(po)
0054 
0055 install(FILES org.kde.kamoso.appdata.xml DESTINATION ${CMAKE_INSTALL_METAINFODIR})
0056 
0057 feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)