You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
763 B
36 lines
763 B
# SPDX-FileCopyrightText: None |
|
# SPDX-License-Identifier: CC0-1.0 |
|
|
|
cmake_minimum_required(VERSION 3.20) |
|
project(quick-effect) |
|
|
|
set(KF6_MIN_VERSION "6.0.0") |
|
|
|
find_package(ECM ${KF6_MIN_VERSION} REQUIRED NO_MODULE) |
|
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH}) |
|
|
|
include(FeatureSummary) |
|
include(KDEInstallDirs) |
|
include(KDECMakeSettings) |
|
include(KDECompilerSettings NO_POLICY_SCOPE) |
|
|
|
find_package(Qt6 CONFIG REQUIRED COMPONENTS |
|
Core |
|
Widgets |
|
) |
|
|
|
find_package(KWin REQUIRED COMPONENTS |
|
kwin |
|
) |
|
|
|
kcoreaddons_add_plugin(eventlistener INSTALL_NAMESPACE "kwin/plugins") |
|
target_sources(eventlistener PRIVATE |
|
main.cpp |
|
eventlistener.cpp |
|
) |
|
|
|
target_link_libraries(eventlistener PRIVATE |
|
KWin::kwin |
|
) |
|
|
|
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
|
|
|