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 %build
mkdir build && pushd build
# Add model data archive to the build directory so CMake finds it. # 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 # We need to force optimizations to specific values since the build system and
# host system will likely be different. # host system will likely be different.
@ -52,13 +52,12 @@ cp %{SOURCE1} .
%global _cpuopt "" %global _cpuopt ""
%endif %endif
%cmake -DDISABLE_CPU_OPTIMIZATION=TRUE %{_cpuopt} ../ %cmake -DDISABLE_CPU_OPTIMIZATION=TRUE %{_cpuopt}
%make_build %cmake_build
%install %install
pushd build %cmake_install
%make_install
%files %files

Loading…
Cancel
Save