Warning, /system/kiss/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2021 Carson Black <uhhadd@gmail.com>
0002 #
0003 # SPDX-License-Identifier: GPL-3.0-or-later
0004 
0005 cmake_minimum_required(VERSION 3.5)
0006 
0007 project(KDEInitialSystemSetup LANGUAGES CXX)
0008 
0009 set(CMAKE_INCLUDE_CURRENT_DIR ON)
0010 set(CMAKE_AUTOUIC ON)
0011 set(CMAKE_AUTOMOC ON)
0012 set(CMAKE_AUTORCC ON)
0013 set(CMAKE_CXX_STANDARD 20)
0014 set(CMAKE_CXX_STANDARD_REQUIRED ON)
0015 set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
0016 
0017 find_package(ECM CONFIG REQUIRED)
0018 set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
0019 
0020 include(KDEInstallDirs)
0021 
0022 find_package(Qt5 COMPONENTS Core Widgets Quick QuickControls2 DBus REQUIRED)
0023 find_package(KF5I18n)
0024 find_package(KF5Config)
0025 find_package(KF5CoreAddons)
0026 find_package(PkgConfig REQUIRED)
0027 
0028 pkg_check_modules(Croutons REQUIRED IMPORTED_TARGET croutons)
0029 
0030 set(DefaultPermissions
0031         OWNER_WRITE OWNER_READ OWNER_EXECUTE
0032         GROUP_READ GROUP_EXECUTE
0033         WORLD_READ WORLD_EXECUTE
0034 )
0035 
0036 add_subdirectory(src)