Skip to content

Commit

Permalink
WIP fixing FFMPEG build
Browse files Browse the repository at this point in the history
  • Loading branch information
Colm Vize committed Mar 29, 2023
1 parent f8922b4 commit 322c8f3
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -932,6 +932,7 @@ set(
libavutil/lls.c
libavutil/hash.c
libavutil/cpu.c
libavutil/x86/cpu.c
libavutil/lzo.c
libavutil/cast5.c
libavutil/buffer.c
Expand All @@ -956,6 +957,7 @@ set(
libavutil/slicethread.c
libavutil/sha.c
libavutil/float_dsp.c
libavutil/x86/float_dsp_init.c
libavutil/xtea.c
libavutil/md5.c
libavutil/samplefmt.c
Expand Down Expand Up @@ -987,6 +989,12 @@ set(
libavutil/stereo3d.c
libavutil/log.c
libavutil/timecode.c
libavutil/x86/cpu.c
libavutil/x86/fixed_dsp_init.c
libavutil/x86/float_dsp_init.c
libavutil/x86/imgutils_init.c
libavutil/x86/lls_init.c
libavutil/x86/pixelutils_init.c
)

if(APPLE)
Expand All @@ -995,6 +1003,13 @@ if(APPLE)
ffmpeg_util_files
libavutil/hwcontext_videotoolbox.c
)
elseif(MSVC)
list(
APPEND
ffmpeg_util_files
libavutil/hwcontext_dxva2.c
libavutil/hwcontext_d3d11va.c
)
endif()

add_library(avutil ${ffmpeg_util_files})
Expand Down Expand Up @@ -1027,6 +1042,10 @@ set(
libswscale/swscale_unscaled.c
libswscale/gamma.c
libswscale/yuv2rgb.c
libswscale/x86/yuv2rgb.c
libswscale/x86/hscale_fast_bilinear_simd.c
libswscale/x86/rgb2rgb.c
libswscale/x86/swscale.c
libswscale/alphablend.c
libswscale/rgb2rgb.c
libswscale/slice.c
Expand Down

0 comments on commit 322c8f3

Please sign in to comment.