Search all KF5 components as such instead as separate frameworks

This commit is contained in:
Andrius Štikonas 2017-11-18 00:20:23 +00:00
parent ecec8dadda
commit f5d210adee
1 changed files with 14 additions and 12 deletions

View File

@ -52,6 +52,7 @@ find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
# Load the frameworks we need
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED
COMPONENTS
Config
ConfigWidgets
CoreAddons
@ -63,8 +64,9 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED
Service
XmlGui
WidgetsAddons
OPTIONAL_COMPONENTS
DocTools
)
find_package(KF5DocTools ${KF5_MIN_VERSION})
# use sane compile flags
add_definitions(