Search all KF5 components as such instead as separate frameworks
This commit is contained in:
parent
ecec8dadda
commit
f5d210adee
|
@ -52,19 +52,21 @@ find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
|
||||||
|
|
||||||
# Load the frameworks we need
|
# Load the frameworks we need
|
||||||
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED
|
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED
|
||||||
Config
|
COMPONENTS
|
||||||
ConfigWidgets
|
Config
|
||||||
CoreAddons
|
ConfigWidgets
|
||||||
Crash
|
CoreAddons
|
||||||
I18n
|
Crash
|
||||||
IconThemes
|
I18n
|
||||||
JobWidgets
|
IconThemes
|
||||||
KIO
|
JobWidgets
|
||||||
Service
|
KIO
|
||||||
XmlGui
|
Service
|
||||||
WidgetsAddons
|
XmlGui
|
||||||
|
WidgetsAddons
|
||||||
|
OPTIONAL_COMPONENTS
|
||||||
|
DocTools
|
||||||
)
|
)
|
||||||
find_package(KF5DocTools ${KF5_MIN_VERSION})
|
|
||||||
|
|
||||||
# use sane compile flags
|
# use sane compile flags
|
||||||
add_definitions(
|
add_definitions(
|
||||||
|
|
Loading…
Reference in New Issue