CMake fixups for mass change.

epel9
Richard Shaw 5 years ago
parent 42285b5a9d
commit 1a43c6a750

@ -35,9 +35,9 @@ Summary: Development files and tools for LPCNet
%build
mkdir build && pushd build
# Add model data archive to the build directory so CMake finds it.
cp %{SOURCE1} .
mkdir -p %{_vpath_builddir}
cp %{SOURCE1} %{_vpath_builddir}/
# We need to force optimizations to specific values since the build system and
# host system will likely be different.
@ -52,13 +52,12 @@ cp %{SOURCE1} .
%global _cpuopt ""
%endif
%cmake -DDISABLE_CPU_OPTIMIZATION=TRUE %{_cpuopt} ../
%make_build
%cmake -DDISABLE_CPU_OPTIMIZATION=TRUE %{_cpuopt}
%cmake_build
%install
pushd build
%make_install
%cmake_install
%files

Loading…
Cancel
Save