From 6c38eaa2a55f0b3ee76558909ca7b9b982eac01c Mon Sep 17 00:00:00 2001 From: Rafael Kitover Date: Fri, 20 Oct 2023 23:25:14 +0000 Subject: [PATCH] build: rm gone ffmpeg deps in link flags for macOS Followup on d8d3ee2b (build: remove unneeded ffmpeg/sfml deps for macOS, 2023-10-20). Also remove the link flags for these deps in the cmake code, otherwise linking fails. Signed-off-by: Rafael Kitover --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bdc0c575..ccf5475d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -453,7 +453,7 @@ if(ENABLE_FFMPEG) set(FFMPEG_LDFLAGS ${FFMPEG_LDFLAGS} -framework CoreText -framework ApplicationServices) if(UPSTREAM_RELEASE) - set(FFMPEG_LDFLAGS ${FFMPEG_LDFLAGS} -lbz2 -lvo-amrwbenc -lopencore-amrnb -lopencore-amrwb -lmodplug -lbluray -lgsm -lmp3lame -ltiff -lopus -lsnappy -lsoxr -lspeex -ltheora -lvorbis -lvpx -lx264 -lx265 -lxavs -lxvidcore -lzmq -framework DiskArbitration -lfreetype -lfontconfig -llzma -logg -lvorbisenc -lxml2 -lharfbuzz) + set(FFMPEG_LDFLAGS ${FFMPEG_LDFLAGS} -lbz2 -ltiff -framework DiskArbitration -lfreetype -lfontconfig -llzma -lxml2 -lharfbuzz) endif() elseif(WIN32) set(WIN32_MEDIA_FOUNDATION_LIBS dxva2 evr mf mfplat mfplay mfreadwrite mfuuid amstrmid)