From 7571f2707a3346503a0a3732af97708992aa3461 Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Sat, 29 Mar 2014 22:12:52 +0200 Subject: [PATCH] Fix MinGW64 compilation until we update the libraries. --- source/creator/CMakeLists.txt | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index 94ec2330291..a7a3d602c95 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -660,6 +660,18 @@ elseif(WIN32) ${LIBDIR}/ffmpeg/lib/swscale-2.dll DESTINATION ${TARGETDIR} ) + elseif(WITH_MINGW64) + install( + FILES + ${LIBDIR}/ffmpeg/lib/avcodec-53.dll + ${LIBDIR}/ffmpeg/lib/avformat-53.dll + ${LIBDIR}/ffmpeg/lib/avdevice-53.dll + ${LIBDIR}/ffmpeg/lib/avutil-51.dll + ${LIBDIR}/ffmpeg/lib/swscale-2.dll + ${LIBDIR}/ffmpeg/lib/swresample-0.dll + ${LIBDIR}/ffmpeg/lib/xvidcore.dll + DESTINATION ${TARGETDIR} + ) else() install( FILES @@ -671,14 +683,6 @@ elseif(WIN32) DESTINATION ${TARGETDIR} ) endif() - if(WITH_MINGW64) - install( - FILES - ${LIBDIR}/ffmpeg/lib/swresample-0.dll - ${LIBDIR}/ffmpeg/lib/xvidcore.dll - DESTINATION ${TARGETDIR} - ) - endif() endif() if(WITH_CODEC_SNDFILE)