summaryrefslogtreecommitdiff
path: root/app-office/calligra/files/calligra-3.0.0-optionaldeps.patch
blob: a36edeef096a70f88a4062992402b3eac64a4abb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0394af4..e11d998 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -223,11 +223,10 @@ find_package(KF5 ${REQUIRED_KF5_VERSION} REQUIRED
         Notifications
         KCMUtils
 )
-find_package(KF5 ${REQUIRED_KF5_VERSION} QUIET
-    OPTIONAL_COMPONENTS
-        Activities
-        KHtml
-)
+
+find_package(KF5Activities)
+find_package(KF5KHtml)
+
 set_package_properties(KF5Activities PROPERTIES
     TYPE OPTIONAL
 )