diff --git a/opencv.spec b/opencv.spec index 29ee446..28bfed5 100644 --- a/opencv.spec +++ b/opencv.spec @@ -276,6 +276,9 @@ popd -DWITH_UNICAP=ON \ -DCMAKE_SKIP_RPATH=ON \ -DWITH_CAROTENE=OFF \ +%ifarch x86_64 %{ix86} + -DCPU_BASELINE=SSE2 \ +%endif -DENABLE_PRECOMPILED_HEADERS=OFF \ -DCMAKE_BUILD_TYPE=ReleaseWithDebInfo \ %{?with_java: -DBUILD_opencv_java=ON \