Warning, /graphics/kodaskanna/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2022 Friedrich W. H. Kossebau <kossebau@kde.org>
0002 #
0003 # SPDX-License-Identifier: BSD-3-Clause
0004 
0005 cmake_minimum_required(VERSION 3.16)
0006 
0007 project(Kodaskanna VERSION "0.1.0")
0008 
0009 set(QT_MIN_VERSION "5.15.0")
0010 set(KF_MIN_VERSION "5.85.0")
0011 
0012 find_package(ECM ${KF_MIN_VERSION} REQUIRED NO_MODULE)
0013 set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
0014 
0015 include(KDEInstallDirs)
0016 include(KDECMakeSettings)
0017 include(KDECompilerSettings NO_POLICY_SCOPE)
0018 
0019 include(ECMInstallIcons)
0020 include(KDEClangFormat)
0021 include(FeatureSummary)
0022 
0023 find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS
0024     Core
0025     Gui
0026     Widgets
0027     MultimediaWidgets
0028 )
0029 
0030 find_package(KF5 ${KF_MIN_VERSION} REQUIRED COMPONENTS
0031     CoreAddons
0032     WidgetsAddons
0033     ConfigWidgets
0034     KIO
0035     Purpose
0036     I18n
0037 )
0038 
0039 find_package(ZXing 1.2 REQUIRED)
0040 
0041 add_subdirectory(src)
0042 add_subdirectory(icons)
0043 
0044 ki18n_install(po)
0045 
0046 file(GLOB_RECURSE ALL_CLANG_FORMAT_SOURCE_FILES *.cpp *.hpp)
0047 kde_clang_format(${ALL_CLANG_FORMAT_SOURCE_FILES})
0048 
0049 feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)