2015-01-15 17:07:43 +00:00
|
|
|
project(kdeplasma-addons)
|
|
|
|
|
2016-04-03 19:34:46 +00:00
|
|
|
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
|
2022-10-03 20:32:24 +03:00
|
|
|
include(GenerateExportHeader)
|
|
|
|
include(FeatureSummary)
|
|
|
|
|
2023-06-17 18:39:16 +03:00
|
|
|
find_package(KDELibs4 4.23.0 REQUIRED)
|
|
|
|
|
2016-04-03 19:34:46 +00:00
|
|
|
include_directories(${KDE4_INCLUDES})
|
|
|
|
add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
|
|
|
|
endif()
|
|
|
|
|
2015-01-15 17:07:43 +00:00
|
|
|
add_subdirectory(applets)
|
|
|
|
add_subdirectory(dataengines)
|
|
|
|
add_subdirectory(runners)
|
|
|
|
add_subdirectory(wallpapers)
|
|
|
|
|
2022-10-03 20:32:24 +03:00
|
|
|
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
|
2023-06-17 19:30:26 +03:00
|
|
|
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
|
2022-10-03 20:32:24 +03:00
|
|
|
endif()
|