mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-04 02:41:19 +00:00
Fixes MSVC CI for FFmpeg
This commit is contained in:
parent
da59ef0f67
commit
4821abc8af
@ -405,22 +405,7 @@ printf "FFmpeg 2.5.2... "
|
||||
rm -rf ffmpeg-2.5.2-win$BITS-dev
|
||||
fi
|
||||
|
||||
FFMPEG_SDK="`real_pwd`/FFmpeg"
|
||||
add_cmake_opts -DAVCODEC_INCLUDE_DIRS="$FFMPEG_SDK/include" \
|
||||
-DAVCODEC_LIBRARIES="$FFMPEG_SDK/lib/avcodec.lib" \
|
||||
-DAVDEVICE_INCLUDE_DIRS="$FFMPEG_SDK/include" \
|
||||
-DAVDEVICE_LIBRARIES="$FFMPEG_SDK/lib/avdevice.lib" \
|
||||
-DAVFORMAT_INCLUDE_DIRS="$FFMPEG_SDK/include" \
|
||||
-DAVFORMAT_LIBRARIES="$FFMPEG_SDK/lib/avformat.lib" \
|
||||
-DAVUTIL_INCLUDE_DIRS="$FFMPEG_SDK/include" \
|
||||
-DAVUTIL_LIBRARIES="$FFMPEG_SDK/lib/avutil.lib" \
|
||||
-DPOSTPROC_INCLUDE_DIRS="$FFMPEG_SDK/include" \
|
||||
-DPOSTPROC_LIBRARIES="$FFMPEG_SDK/lib/postproc.lib" \
|
||||
-DSWRESAMPLE_INCLUDE_DIRS="$FFMPEG_SDK/include" \
|
||||
-DSWRESAMPLE_LIBRARIES="$FFMPEG_SDK/lib/swresample.lib" \
|
||||
-DSWSCALE_INCLUDE_DIRS="$FFMPEG_SDK/include" \
|
||||
-DSWSCALE_LIBRARIES="$FFMPEG_SDK/lib/swscale.lib"
|
||||
|
||||
export FFMPEG_SDK="`real_pwd`/FFmpeg"
|
||||
add_runtime_dlls `pwd`/FFmpeg/bin/{avcodec-56,avformat-56,avutil-54,swresample-1,swscale-3}.dll
|
||||
|
||||
if [ $BITS -eq 32 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user