Examples: also install source files
This commit is contained in:
parent
26b57b5af1
commit
bc0743be08
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user