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

30 lines
703 B
CMake
Executable file

project (smaragd)
cmake_minimum_required (VERSION 2.8.12 FATAL_ERROR)
find_package (ECM 1.0.0 REQUIRED NO_MODULE)
set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
${ECM_MODULE_PATH}
${ECM_KDE_MODULE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules
)
find_package (Qt5 REQUIRED CONFIG COMPONENTS Core Gui Widgets)
find_package (KF5 REQUIRED COMPONENTS Config CoreAddons I18n WidgetsAddons)
find_package (KDecoration2 REQUIRED)
find_package (GLIB2 REQUIRED)
find_package (Cairo REQUIRED)
include (KDEInstallDirs)
include (KDECMakeSettings)
include (KDECompilerSettings)
include_directories (
${CMAKE_BINARY_DIR}
${CAIRO_INCLUDE_DIRS}
${GLIB2_INCLUDE_DIR}
)
add_subdirectory (src)