rebuilt with -DENABLE_PRECOMPILED_HEADERS=OFF to fix blender build, see https://stackoverflow.com/questions/43558709/opencv-and-tbb-error-x64?rq=1 [release 4.1.2-4mamba;Sun Dec 08 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 08:10:49 +01:00
parent 4aff41f3d3
commit 7efb062e56

View File

@ -2,7 +2,7 @@
%define javaver %(echo %version | cut -d. -f1-3 | tr -d .)
Name: opencv
Version: 4.1.2
Release: 3mamba
Release: 4mamba
Summary: Collection of algorithms for computer vision
Group: Development/Libraries
Vendor: openmamba
@ -143,6 +143,7 @@ mv opencv-opencv-*/* .
-DPYTHON3_PACKAGES_PATH:PATH=%{python36_sitelib} \
-DOPENCV_GENERATE_PKGCONFIG=ON \
-DOPENCV_ENABLE_NONFREE=ON \
-DENABLE_PRECOMPILED_HEADERS=OFF \
-DLIB_SUFFIX=
%make_jobs
@ -210,6 +211,9 @@ rm -fr %{buildroot}%{_datadir}/opencv/doc
%endif
%changelog
* Sun Dec 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.2-4mamba
- rebuilt with -DENABLE_PRECOMPILED_HEADERS=OFF to fix blender build, see https://stackoverflow.com/questions/43558709/opencv-and-tbb-error-x64?rq=1
* Thu Nov 14 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.2-3mamba
- fix cmake file for wrong include dir