From 9eb404c33700fce94203286ffc158bf063b8a11e Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Tue, 5 Apr 2022 22:14:20 +0200 Subject: [PATCH] Don't find ktextwidgets for mobile It's only used for the KPart --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 547671f24..8eee2decf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)