From c5442702d4ce973e4d611ee645fe55811713c7e9 Mon Sep 17 00:00:00 2001
From: Alexander Golubev <fatzer2@gmail.com>
Date: Tue, 7 Jul 2026 10:32:00 +0300
Subject: kcontrol: fix compilation against fontconfig-2.18 #2

This is a follow-up to 07649e69d. The necessary include paths were
missed in the previous commit.

Bug: https://mirror.git.trinitydesktop.org/gitea/TDE/tde-packaging-gentoo/issues/514
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
---
 kcontrol/tdefontinst/lib/CMakeLists.txt   | 1 +
 kcontrol/tdefontinst/tdeio/CMakeLists.txt | 1 +
 2 files changed, 2 insertions(+)

diff --git a/kcontrol/tdefontinst/lib/CMakeLists.txt b/kcontrol/tdefontinst/lib/CMakeLists.txt
index 1076cb03c..fdd982198 100644
--- a/kcontrol/tdefontinst/lib/CMakeLists.txt
+++ b/kcontrol/tdefontinst/lib/CMakeLists.txt
@@ -14,6 +14,7 @@ include_directories(
   ${TDE_INCLUDE_DIR}
   ${TQT_INCLUDE_DIRS}
   ${FREETYPE_INCLUDE_DIRS}
+  ${FONTCONFIG_INCLUDE_DIRS}
 )
 
 link_directories(
diff --git a/kcontrol/tdefontinst/tdeio/CMakeLists.txt b/kcontrol/tdefontinst/tdeio/CMakeLists.txt
index becd8c15a..5cb00988e 100644
--- a/kcontrol/tdefontinst/tdeio/CMakeLists.txt
+++ b/kcontrol/tdefontinst/tdeio/CMakeLists.txt
@@ -16,6 +16,7 @@ include_directories(
   ${CMAKE_SOURCE_DIR}/kcontrol/fonts
   ${TDE_INCLUDE_DIR}
   ${TQT_INCLUDE_DIRS}
+  ${FONTCONFIG_INCLUDE_DIRS}
 )
 
 link_directories(
-- 
cgit v1.2.3

