From bc0743be0864bc0b52f8a81fc52963e3d072694d Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 19 Feb 2024 19:48:25 +0100 Subject: [PATCH] Examples: also install source files --- qt6-qtmultimedia.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qt6-qtmultimedia.spec b/qt6-qtmultimedia.spec index e2467c6..294dbf6 100644 --- a/qt6-qtmultimedia.spec +++ b/qt6-qtmultimedia.spec @@ -113,7 +113,9 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %if 0%{?rhel} && 0%{?rhel} < 10 . /opt/rh/gcc-toolset-12/enable %endif -%cmake_qt6 -DQT_BUILD_EXAMPLES:BOOL=%{?examples:ON}%{!?examples:OFF} +%cmake_qt6 \ + -DQT_BUILD_EXAMPLES:BOOL=%{?examples:ON}%{!?examples:OFF} \ + -DQT_INSTALL_EXAMPLES_SOURCES=%{?examples:ON}%{!?examples:OFF} %cmake_build