diff --git a/packages/ffmpeg.cmake b/packages/ffmpeg.cmake index 607496bca..e6c69756c 100644 --- a/packages/ffmpeg.cmake +++ b/packages/ffmpeg.cmake @@ -309,6 +309,7 @@ ExternalProject_Add(ffmpeg --enable-network + ${ffmpeg_lto} --extra-cflags='-Wno-error=int-conversion' "--extra-libs='${ffmpeg_extra_libs}'" # -lstdc++ / -lc++ needs by libjxl and shaderc BUILD_COMMAND ${MAKE}