mirror of
https://gitgud.io/wackyideas/aerothemeplasma.git
synced 2024-08-15 00:43:43 +00:00
31 lines
703 B
CMake
31 lines
703 B
CMake
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)
|
|
|