mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-01 05:33:33 +00:00
Don't find ktextwidgets for mobile
It's only used for the KPart
This commit is contained in:
parent
32bbf3d4b8
commit
9eb404c337
|
@ -107,7 +107,6 @@ find_package(KF5 ${KF5_REQUIRED_VERSION} REQUIRED COMPONENTS
|
|||
CoreAddons
|
||||
I18n
|
||||
KIO
|
||||
TextWidgets
|
||||
ThreadWeaver
|
||||
WindowSystem
|
||||
${optionalComponents}
|
||||
|
@ -117,7 +116,7 @@ find_package(KF5 ${KF5_REQUIRED_VERSION} REQUIRED COMPONENTS
|
|||
)
|
||||
|
||||
if (BUILD_DESKTOP)
|
||||
find_package(KF5 ${KF5_REQUIRED_VERSION} REQUIRED COMPONENTS Parts Crash IconThemes)
|
||||
find_package(KF5 ${KF5_REQUIRED_VERSION} REQUIRED COMPONENTS Parts Crash IconThemes TextWidgets)
|
||||
endif()
|
||||
|
||||
if(KF5Wallet_FOUND)
|
||||
|
|
Loading…
Reference in a new issue