Added more guards.

epel9
Vitaly Zaitsev 3 years ago
parent 11ba4f4c0a
commit 4a0adfa57a
No known key found for this signature in database
GPG Key ID: BF99FC6DD45AB90A

@ -26,22 +26,31 @@ Summary: C++ Coroutines for Qt
URL: https://github.com/danvratil/%{name}
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
%if 0%{?use_qt5}
BuildRequires: cmake(Qt5Core)
BuildRequires: cmake(Qt5DBus)
BuildRequires: cmake(Qt5Widgets)
%endif
%if 0%{?use_qt6}
BuildRequires: cmake(Qt6Core)
BuildRequires: cmake(Qt6DBus)
BuildRequires: cmake(Qt6Widgets)
%endif
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: ninja-build
%if 0%{?tests}
%if 0%{?use_qt5}
BuildRequires: cmake(Qt5Concurrent)
BuildRequires: cmake(Qt5Test)
%endif
%if 0%{?use_qt6}
BuildRequires: cmake(Qt6Concurrent)
BuildRequires: cmake(Qt6Test)
%endif
BuildRequires: dbus-x11
%endif

Loading…
Cancel
Save