Fix KF5Activities being optional.

If found via find_package(KF5 COMPONENTS Activities) instead, it will
inherit REQUIRED from the previous call.

REVIEW: 125360
This commit is contained in:
Michael Palimaka 2015-09-26 05:34:26 +10:00
parent 51f75371c4
commit 6e218c4c14

View file

@ -66,7 +66,7 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
WindowSystem WindowSystem
Notifications Notifications
) )
find_package(KF5 ${KF5_MIN_VERSION} COMPONENTS find_package(KF5 ${KF5_MIN_VERSION} OPTIONAL_COMPONENTS
Activities Activities
) )