Switch to cmake_build,install

epel9
Nicolas Chauvet 4 years ago
parent 663cf5c0ba
commit bceb48cb64

@ -340,14 +340,14 @@ pushd build
%{?with_vulkan: -DWITH_VULKAN=ON -DVULKAN_INCLUDE_DIRS=%{_includedir}/vulkan } \
..
%make_build VERBOSE=1
%cmake_build
popd
%install
%make_install -C build
find %{buildroot} -name '*.la' -delete
%cmake_install
rm -rf %{buildroot}%{_datadir}/OpenCV/licenses/
%if %{with java}
ln -s -r %{buildroot}%{_jnidir}/libopencv_java%{javaver}.so %{buildroot}%{_jnidir}/libopencv_java.so

Loading…
Cancel
Save