From 44dfc76154c0964ade17b5e2d12dda74f8328e30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Herrmann?= Date: Tue, 14 May 2013 16:16:25 +0000 Subject: CMake build system update - Extending CMakeLists.txt to support builds with VC2012. - Fix some typo in CMakeLists.txt - Introduces experimental WITH_AVX_CPU to build with /arch:AVX (VC11 only) --- source/creator/CMakeLists.txt | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) (limited to 'source/creator') diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index 0350de5870c..dd2029cafc9 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -587,15 +587,29 @@ elseif(WIN32) endif() if(WITH_CODEC_FFMPEG) - 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 - DESTINATION ${TARGETDIR} - ) + if(MSVC11) + install( + FILES + ${LIBDIR}/ffmpeg/lib/avcodec-54.dll + ${LIBDIR}/ffmpeg/lib/avformat-54.dll + ${LIBDIR}/ffmpeg/lib/avdevice-54.dll + ${LIBDIR}/ffmpeg/lib/avutil-52.dll + ${LIBDIR}/ffmpeg/lib/avfilter-3.dll + ${LIBDIR}/ffmpeg/lib/swresample-0.dll + ${LIBDIR}/ffmpeg/lib/swscale-2.dll + DESTINATION ${TARGETDIR} + ) + else() + 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 + DESTINATION ${TARGETDIR} + ) + endif() if(WITH_MINGW64) install( FILES -- cgit v1.2.3