aerothemeplasma/KWin/kwin_reflect/CMakeLists.txt
2023-08-25 00:32:11 +02:00

53 lines
1 KiB
CMake
Executable file

cmake_minimum_required(VERSION 3.0)
project(kwin4_effect_reflect)
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(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)