aerothemeplasma/KWin/kwin_fixblur/CMakeLists.txt
2024-02-01 01:16:09 +01:00

54 lines
1 KiB
CMake
Executable file

cmake_minimum_required(VERSION 3.0)
project(kwin4_effect_customblur)
set(KF_MIN_VERSION "5.78")
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
find_package(ECM ${KF_MIN_VERSION} REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH
${CMAKE_MODULE_PATH}
${ECM_MODULE_PATH}
${ECM_KDE_MODULE_DIR}
#${ECM_KDE_MODULE_DIR}/kwin
${CMAKE_SOURCE_DIR}/cmake
${CMAKE_SOURCE_DIR}/cmake/Modules
)
include(FeatureSummary)
include(KDEInstallDirs)
include(KDECMakeSettings)
include(KDECompilerSettings NO_POLICY_SCOPE)
find_package(Qt5 REQUIRED COMPONENTS
Core
DBus
Gui
)
find_package(KDecoration2 REQUIRED)
find_package(KF5 ${KF_MIN_VERSION} REQUIRED COMPONENTS
Config
ConfigWidgets
CoreAddons
WindowSystem
Wayland
)
find_package(KF5Plasma)
#find_package(kwin REQUIRED)
find_package(kwineffects REQUIRED COMPONENTS
kwineffects
kwinglutils
)
find_package(KWinDBusInterface CONFIG REQUIRED)
find_package(epoxy REQUIRED)
add_subdirectory(src)
feature_summary(WHAT ALL)