[cmake] ffmpeg: use CPM and source archive (#155)

Cherry-picked from refactor/cpm. Dramatically reduces download time

Signed-off-by: crueter <crueter@eden-emu.dev>

Reviewed-on: #155
This commit is contained in:
crueter 2025-07-30 07:06:50 +02:00
parent dee960ccd9
commit 43f450499c
Signed by: crueter
GPG key ID: 425ACD2D4830EBC6
6 changed files with 13 additions and 9 deletions

View file

@ -491,6 +491,8 @@ set(FFmpeg_COMPONENTS
avutil
swscale)
set(CPM_SOURCE_CACHE ${CMAKE_SOURCE_DIR}/.cache/cpm)
add_subdirectory(externals)
if (ENABLE_QT)