aerothemeplasma/Window Manager/smaragd-0.1.1/CMakeLists.txt

31 lines
703 B
CMake
Raw Normal View History

2021-07-16 19:33:52 +00:00
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)