diff --git a/cmake/Modules/LocalLibyuv.cmake b/cmake/Modules/LocalLibyuv.cmake index 829fb33558..b11d3fa5ee 100644 --- a/cmake/Modules/LocalLibyuv.cmake +++ b/cmake/Modules/LocalLibyuv.cmake @@ -34,6 +34,7 @@ else() GIT_REPOSITORY "https://chromium.googlesource.com/libyuv/libyuv" BINARY_DIR "${LIBYUV_BINARY_DIR}" GIT_TAG "${AVIF_LOCAL_LIBYUV_TAG}" + PATCH_COMMAND sed -i.bak -e "s:find_package.*(.*JPEG.*)::" CMakeLists.txt UPDATE_COMMAND "" )