build_environment: ffmpeg support x86 builds on windows.

This commit is contained in:
Ray Molenkamp
2018-08-25 19:37:30 -06:00
parent b6edf860fe
commit 3311e29b72

View File

@@ -38,6 +38,12 @@ if(WIN32)
--disable-pthreads
--enable-libopenjpeg
)
if("${CMAKE_SIZEOF_VOID_P}" EQUAL "4")
set(FFMPEG_EXTRA_FLAGS
${FFMPEG_EXTRA_FLAGS}
--x86asmexe=yasm
)
endif()
else()
set(FFMPEG_EXTRA_FLAGS
${FFMPEG_EXTRA_FLAGS}