See also: https://invent.kde.org/education/kstars/-/merge_requests/1559

From 08fe922629a92c62877586b42f38d79038b32382 Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Tue, 9 Sep 2025 19:33:14 +0200
Subject: [PATCH] Drop obsolete KDocTools dependency

Amends fb9e10684d42202c30bf31e6387e69258527f9e8

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
---
 CMakeLists.txt | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index fb0f62740..f65dae76f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -147,7 +147,6 @@ else(BUILD_KSTARS_LITE)
        find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
          Config
          Crash
-         DocTools
          WidgetsAddons
          NewStuff
          I18n
@@ -165,7 +164,6 @@ else(BUILD_KSTARS_LITE)
         find_package(KF6 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
           Config
           Crash
-          DocTools
           WidgetsAddons
           NewStuff
           I18n
@@ -518,17 +516,7 @@ IF (NOT ANDROID)
     enable_testing(true)
     add_subdirectory(Tests)
     ENDIF()
-    # Make it possible to use the po files fetched by the fetch-translations step    
     ki18n_install(po)
-    if (BUILD_QT5)
-        find_package(KF5DocTools CONFIG)
-    else()
-        find_package(KF6DocTools CONFIG)
-    endif()
-    if(KF5DocTools_FOUND OR KF6DocTools_FOUND)
-        kdoctools_install(po)
-    endif()
-
 ENDIF ()
 
 if(NOT APPLE) #This is not used on MacOS
-- 
2.51.0

