CMake build out of source. Fixes BZ#1865172
This commit is contained in:
parent
fc954ca3f9
commit
7fac29de2a
@ -123,21 +123,12 @@ and it is therefore not reliable.
|
||||
|
||||
|
||||
%build
|
||||
mkdir tmpbuild
|
||||
pushd tmpbuild
|
||||
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||
%cmake ..
|
||||
%else
|
||||
%cmake3 ..
|
||||
%endif
|
||||
%cmake
|
||||
|
||||
%make_build
|
||||
popd
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
pushd tmpbuild
|
||||
%make_install
|
||||
popd
|
||||
%cmake_install
|
||||
|
||||
# From rpm version > 4.9.1, it may no longer be necessary to move the
|
||||
# documentation out of the docdir path, as the %%doc macro no longer
|
||||
|
Loading…
Reference in New Issue
Block a user