From 334c4b98d01d5e060730adc28cad01bda562070e Mon Sep 17 00:00:00 2001 From: Vincent Rabaud Date: Wed, 2 Oct 2024 10:23:12 +0200 Subject: [PATCH] Disable JPEG finding in libyuv This is to prevent extra files in libyuv to be built and have a dependency order problem. --- cmake/Modules/LocalLibyuv.cmake | 1 + 1 file changed, 1 insertion(+) 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 "" )