CMake fixups for mass change.

epel9
Richard Shaw 4 years ago
parent 65c2b51e69
commit fa2b024e0c

@ -41,21 +41,18 @@ Documentation for %{name}
%prep
%setup -q -n %{name}-%{version}%{?prerel:%{prerel}}
# Removed upstream but should make it back next release.
cp %{SOURCE1} .
%build
rm -rf build && mkdir build && pushd build
export CXXFLAGS='%{optflags} -std=c++11'
%cmake ../
make %{?_smp_mflags}
%cmake
%cmake_build
%install
pushd build
%make_install
popd
# Removed upstream but should make it back next release.
cp %{SOURCE1} .
%cmake_install
%ldconfig_scriptlets

Loading…
Cancel
Save