┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorElvis Angelaccio <[email protected]>2019-01-15 18:47:27 +0100
committerElvis Angelaccio <[email protected]>2019-03-18 21:18:04 +0100
commit5b463d82fed9a443b098888c0aee8a7b3b322666 (patch)
tree136f250c2bf2c69c04c90f1a761f2a4758dd741c /CMakeLists.txt
parent58084cf7da362d77919483cbb9a7a23333ce86c5 (diff)
Bring back KActivities support
Summary: This code has been unused since the KF5 port. Reviewers: #dolphin, #plasma Subscribers: kfm-devel Tags: #dolphin Differential Revision: https://phabricator.kde.org/D18273
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 72ab75d36..09fafe5c9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -68,6 +68,11 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
find_package(KF5 ${KF5_MIN_VERSION} OPTIONAL_COMPONENTS
Activities
)
+set_package_properties(KF5Activities PROPERTIES DESCRIPTION "KActivities libraries"
+ URL "http://www.kde.org"
+ TYPE OPTIONAL
+ PURPOSE "For tracking which folders are frequently accessed on a Plasma desktop"
+ )
find_package(Phonon4Qt5 CONFIG REQUIRED)
@@ -91,6 +96,10 @@ set_package_properties(KF5FileMetaData PROPERTIES
PURPOSE "For accessing file metadata labels"
)
+if (KF5Activities_FOUND)
+ set(HAVE_KACTIVITIES TRUE)
+endif()
+
if (KF5Baloo_FOUND AND KF5BalooWidgets_FOUND AND KF5FileMetaData_FOUND)
message(STATUS "Baloo packages are found")
set(HAVE_BALOO TRUE)