From a714f4f1a4ae9c7d8a2c64a8f648ba3ad674ccf7 Mon Sep 17 00:00:00 2001 From: Steve Cossette Date: Mon, 9 Oct 2023 15:30:55 -0400 Subject: [PATCH] Imported logics to make Flatpak compiles work with KF6 package --- kf6-kconfig.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/kf6-kconfig.spec b/kf6-kconfig.spec index ff7b0e0..9d1bfe3 100644 --- a/kf6-kconfig.spec +++ b/kf6-kconfig.spec @@ -39,7 +39,12 @@ developing applications that use %{name}. %autosetup -n %{framework}-%{commit0} -p1 %build -%cmake_kf6 +%cmake_kf6 \ + %if 0%{?flatpak} + %{?docs:-DBUILD_QCH:BOOL=OFF} \ + %else + %{?docs:-DBUILD_QCH:BOOL=ON} \ + %endif %cmake_build %install