diff --git a/cmake/DownloadPrebuilts.cmake b/cmake/DownloadPrebuilts.cmake index 5c9f80a4..30c90aac 100644 --- a/cmake/DownloadPrebuilts.cmake +++ b/cmake/DownloadPrebuilts.cmake @@ -745,7 +745,7 @@ elseif ("${SYSTEM_NAME_UPPER}" STREQUAL "DARWIN" AND # OpenCV for MacOS-arm64 # ########################## - set(OpenCV_VERSION "4.7.0") + set(OpenCV_VERSION "4.9.0") set(OpenCV_PREBUILT_DIR "macArm64_opencv_${OpenCV_VERSION}") set(OpenCV_DIR "${PREBUILT_PATH}/${OpenCV_PREBUILT_DIR}") set(OpenCV_INCLUDE_DIR "${OpenCV_DIR}/include") diff --git a/externals/prebuild_scripts/build_opencv_w_contrib_for_macArm64.sh b/externals/prebuild_scripts/build_opencv_w_contrib_for_macArm64.sh index 0f56dc7c..0983816f 100755 --- a/externals/prebuild_scripts/build_opencv_w_contrib_for_macArm64.sh +++ b/externals/prebuild_scripts/build_opencv_w_contrib_for_macArm64.sh @@ -80,6 +80,8 @@ cmake \ -DBUILD_TIFF=ON \ -DWITH_WEBP=ON \ -DBUILD_WEBP=ON \ +-DWITH_FFMPEG=ON \ +-DBUILD_FFMPEG=ON \ -DWITH_OPENEXR=ON \ -DBUILD_OPENEXR=ON \ -DOPENCV_ENABLE_NONFREE=ON \ @@ -121,6 +123,8 @@ cmake \ -DBUILD_TIFF=ON \ -DWITH_WEBP=ON \ -DBUILD_WEBP=ON \ +-DWITH_FFMPEG=ON \ +-DBUILD_FFMPEG=ON \ -DWITH_OPENEXR=ON \ -DBUILD_OPENEXR=ON \ -DOPENCV_ENABLE_NONFREE=ON \