mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Remove unneeded stuff from CMake
This should only be at the project toplevel, not in some subfolder
This commit is contained in:
parent
22c8c14bf5
commit
b4dd9066da
2 changed files with 2 additions and 26 deletions
|
|
@ -63,6 +63,8 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
|
|||
Wayland
|
||||
ModemManagerQt
|
||||
NetworkManagerQt
|
||||
KCMUtils
|
||||
Declarative
|
||||
)
|
||||
|
||||
find_package(LibKWorkspace CONFIG REQUIRED)
|
||||
|
|
|
|||
|
|
@ -1,32 +1,6 @@
|
|||
# SPDX-FileCopyrightText: 2022 Devin Lin <devin@kde.org>
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
cmake_minimum_required(VERSION 3.0)
|
||||
|
||||
project(mobileshellkcm)
|
||||
|
||||
set(QT_MIN_VERSION "5.15.0")
|
||||
set(KF5_MIN_VERSION "5.90.0")
|
||||
|
||||
find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
|
||||
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)
|
||||
|
||||
include(KDEInstallDirs)
|
||||
include(KDECMakeSettings)
|
||||
include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
|
||||
|
||||
find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
|
||||
Quick
|
||||
Svg
|
||||
)
|
||||
|
||||
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
|
||||
I18n
|
||||
KCMUtils
|
||||
Declarative
|
||||
Config
|
||||
)
|
||||
|
||||
kcoreaddons_add_plugin(kcm_mobileshell SOURCES kcm.cpp INSTALL_NAMESPACE "plasma/kcms/systemsettings")
|
||||
|
||||
target_link_libraries(kcm_mobileshell
|
||||
|
|
|
|||
Loading…
Reference in a new issue