diff --git a/qt6-qtdeclarative.spec b/qt6-qtdeclarative.spec index f14c48a..ed6e86f 100644 --- a/qt6-qtdeclarative.spec +++ b/qt6-qtdeclarative.spec @@ -102,7 +102,7 @@ BuildRequires: qt6-qtdeclarative-devel >= %{version} ln -s %{__python3} python export PATH=`pwd`:$PATH -%cmake_qt6 -DQT_BUILD_EXAMPLES:BOOL=FALSE +%cmake_qt6 -DQT_BUILD_EXAMPLES:BOOL=%{?examples:ON}%{!?examples:OFF} %cmake_build