Fix building on RHEL/CentOS 7
This commit is contained in:
parent
7e5af09984
commit
39ba9ebd29
1 changed files with 5 additions and 1 deletions
|
|
@ -43,7 +43,11 @@ developing applications that use %{name}.
|
|||
|
||||
%build
|
||||
%if 0%{?rhel} && 0%{?rhel} < 8
|
||||
%global __cmake %{_bindir}/cmake3
|
||||
%global cmake %cmake3
|
||||
%global cmake_build %cmake3_build
|
||||
%global cmake_install %cmake3_install
|
||||
# Simplified https://github.com/ampache-browser/ampache_browser/pull/7
|
||||
sed -e 's/Qt::/Qt5::/g' -i CMakeLists.txt
|
||||
%endif
|
||||
|
||||
%cmake -D USE_QT6=OFF .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue